Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rectangular size icons #20

Merged
merged 6 commits into from
Aug 21, 2023
Merged

Rectangular size icons #20

merged 6 commits into from
Aug 21, 2023

Conversation

mpaperno
Copy link
Collaborator

@mpaperno mpaperno commented Aug 19, 2023

These changes allow setting width and height independently.

The tiling behavior changes when using the new "New Layered Icon" action with separate width and height -- The given width and height are split into tiles instead of each tile being the given size.

Preserves BC with earlier 1.2.0 alpha versions.

The first 2 commits aren't directly related -- the first one pulls settings from the code base for the entry generator, and the 2nd changes the default icon size to 128px (but will not change any current users' defaults).

This is one, untiled rectangular icon displayed on a 4x1 button, with regular TP buttons underneath to show the page grid spacing.

image

… Now requires that src/common.ts has been built (with tsc) to dist/common.js before generating, and checks that JS version is newer than TS.
…to be specified explicitly instead of per-tile (preserves BC with previous per-tile method).
…ew Layered Icon action and also plugin setting for default icon size (setting value format is now `<width_or_both>{ (x|,| ) <height>]`).
…so change the Compression Level setting to be numeric with min/max range instead of text.
@mpaperno mpaperno merged commit bf5b1fa into main Aug 21, 2023
@mpaperno mpaperno deleted the mp/feat_2d_icon_size branch August 21, 2023 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants