mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 12:01:38 +00:00
View rich diffs for Source property changes (#748)
This commit is contained in:
parent
d0e48d9bdc
commit
ecc31dea15
15 changed files with 924 additions and 6 deletions
|
|
@ -76,6 +76,12 @@ function StudioPluginGui:didUpdate(lastProps)
|
|||
if self.props.active ~= lastProps.active then
|
||||
-- This is intentionally in didUpdate to make sure the initial active state
|
||||
-- (if the PluginGui is open initially) is preserved.
|
||||
|
||||
-- Studio widgets are very unreliable and sometimes need to be flickered
|
||||
-- in order to force them to render correctly
|
||||
-- This happens within a single frame so it doesn't flicker visibly
|
||||
self.pluginGui.Enabled = self.props.active
|
||||
self.pluginGui.Enabled = not self.props.active
|
||||
self.pluginGui.Enabled = self.props.active
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue