Skip to content

Commit

Permalink
update window props
Browse files Browse the repository at this point in the history
  • Loading branch information
heapwolf committed Apr 15, 2024
1 parent 42207d7 commit e1d9790
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/project.js
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ class AppProject extends Tonic {
}
}

if (node.label === 'settings.json' && node.parent.id === 'root') {
if (node.label === 'Settings' && node.parent.id === 'root') {
node.isRootSettingsFile = true
}

Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ class AppView extends Tonic {
radius: preview.radius, // ie '48.5',
margin: preview.margin, // ie '6.0',
title: preview.title,
titleBarStyle: preview.titleBarStyle, // ie 'hiddenInset'
trafficLightPosition: preview.trafficLightPosition, // ie '10x26'
titlebarStyle: preview.titlebarStyle, // ie 'hiddenInset'
windowConrolOffsets: preview.windowControlOffsets, // ie '10x26'
// backgroundColorDark: 'rgba(46, 46, 46, 0.1)',
// backgroundColorLight: 'rgba(255, 255, 255, 0.1)',
aspectRatio: preview.aspectRatio, // ie '9:19.5'
Expand Down

0 comments on commit e1d9790

Please sign in to comment.