mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 03:36:06 +00:00
Add locked tooltip (#998)
Adds the ability to define descriptive tooltips for settings when they are locked.  Makes some minor improvements to tooltip layout logic as well.
This commit is contained in:
parent
b7d3394464
commit
19ca2b12fc
5 changed files with 16 additions and 8 deletions
|
|
@ -201,6 +201,7 @@ function SettingsPage:render()
|
|||
name = "Two-Way Sync",
|
||||
description = "Editing files in Studio will sync them into the filesystem",
|
||||
locked = self.props.syncActive,
|
||||
lockedTooltip = "(Cannot change while currently syncing. Disconnect first.)",
|
||||
tag = "unstable",
|
||||
transparency = self.props.transparency,
|
||||
layoutOrder = layoutIncrement(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue