Skip to content

Commit

Permalink
Fix style scale bug in app icon preview artboard.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashung Hung committed Feb 10, 2022
1 parent e7f3d7e commit 3af53ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/new_app_icon.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ export default function() {
let legacyIconSymbol = launcherIconLegacy.createNewInstance();
legacyIconSymbol.name = 'ic_launcher';
legacyIconSymbol.frame = new Rectangle(0, 0, 108, 108);
legacyIconSymbol.sketchObject.setScale(108/192);
let legacyIcon = new Group({
name: 'Legacy App Icon',
frame: new Rectangle(18, 40, 108, 108),
Expand All @@ -257,6 +258,7 @@ export default function() {
let legacyIconRoundSymbol = launcherRoundIconLegacy.createNewInstance();
legacyIconRoundSymbol.name = 'ic_launcher_round';
legacyIconRoundSymbol.frame = new Rectangle(0, 0, 108, 108);
legacyIconRoundSymbol.sketchObject.setScale(108/192);
let legacyIconRound = new Group({
name: 'Legacy App Icon Round',
frame: new Rectangle(146, 40, 108, 108),
Expand Down

0 comments on commit 3af53ee

Please sign in to comment.