Skip to content

Fix numeral scaling for icon_layers without scale specification - #575

Merged
LovelySanta merged 1 commit into
Arch666Angel:devfrom
kirazy:dev
Apr 6, 2021
Merged

Fix numeral scaling for icon_layers without scale specification#575
LovelySanta merged 1 commit into
Arch666Angel:devfrom
kirazy:dev

Conversation

@kirazy

@kirazy kirazy commented Apr 5, 2021

Copy link
Copy Markdown
Contributor
  1. Adjusted precendence for icons vs icon, moved return icons above return icon in function get_icons()
  2. Baked 0.5 scaling factor into icon_size_scale calculation for instances where scale is specified, and where it is not, icon_size_scale is 0.5.
  3. Added brackets around 10.24 / 32 on line 172 to make parser happy
  4. Cleaned up trailing whitespace

1. Adjusted precendence for icons vs icon, moved return icons above return icon in function get_icons()
2. Baked 0.5 scaling factor into icon_size_scale calculation for instances where scale is specified, and where it is not, icon_size_scale is 0.5.
3. Added brackets around 10.24 / 32 on line 172 to make parser happy
4. Cleaned up trailing whitespace
@LovelySanta
LovelySanta merged commit c31c2c3 into Arch666Angel:dev Apr 6, 2021
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