From e1d9790cf0d36140b79efef2232915bc998ee59a Mon Sep 17 00:00:00 2001 From: heapwolf Date: Mon, 15 Apr 2024 16:05:12 +0200 Subject: [PATCH] update window props --- src/components/project.js | 2 +- src/index.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/project.js b/src/components/project.js index 1913a7b..98c0e58 100644 --- a/src/components/project.js +++ b/src/components/project.js @@ -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 } diff --git a/src/index.js b/src/index.js index 5bb27b8..ea9fdb4 100644 --- a/src/index.js +++ b/src/index.js @@ -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'