Better settings control (#725)

- Lock some settings during sync
- Make experimental features more clearly labelled
This commit is contained in:
boatbomber
2023-07-12 13:00:07 -07:00
committed by GitHub
parent 28d48a76e3
commit 9d48af2b50
7 changed files with 39 additions and 11 deletions

View File

@@ -115,7 +115,9 @@ function SettingsPage:render()
OpenScriptsExternally = e(Setting, {
id = "openScriptsExternally",
name = "Open Scripts Externally",
description = "EXPERIMENTAL! Attempt to open scripts in an external editor",
description = "Attempt to open scripts in an external editor",
locked = self.props.syncActive,
experimental = true,
transparency = self.props.transparency,
layoutOrder = 4,
}),
@@ -123,7 +125,9 @@ function SettingsPage:render()
TwoWaySync = e(Setting, {
id = "twoWaySync",
name = "Two-Way Sync",
description = "EXPERIMENTAL! Editing files in Studio will sync them into the filesystem",
description = "Editing files in Studio will sync them into the filesystem",
locked = self.props.syncActive,
experimental = true,
transparency = self.props.transparency,
layoutOrder = 5,
}),