mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 21:41:37 +00:00
Use latest plugingui component
This commit is contained in:
parent
c9ca6bed74
commit
588424707d
1 changed files with 2 additions and 12 deletions
|
|
@ -714,6 +714,7 @@ function App:render()
|
||||||
id = id,
|
id = id,
|
||||||
title = popup.name,
|
title = popup.name,
|
||||||
active = true,
|
active = true,
|
||||||
|
isEphemeral = true,
|
||||||
|
|
||||||
initDockState = popup.dockState or Enum.InitialDockState.Top,
|
initDockState = popup.dockState or Enum.InitialDockState.Top,
|
||||||
initEnabled = true,
|
initEnabled = true,
|
||||||
|
|
@ -724,18 +725,7 @@ function App:render()
|
||||||
zIndexBehavior = Enum.ZIndexBehavior.Sibling,
|
zIndexBehavior = Enum.ZIndexBehavior.Sibling,
|
||||||
|
|
||||||
onClose = popup.onClose,
|
onClose = popup.onClose,
|
||||||
}, {
|
}, popup.content)
|
||||||
Content = popup.content,
|
|
||||||
|
|
||||||
Background = Theme.with(function(theme)
|
|
||||||
return e("Frame", {
|
|
||||||
Size = UDim2.new(1, 0, 1, 0),
|
|
||||||
BackgroundColor3 = theme.BackgroundColor,
|
|
||||||
ZIndex = 0,
|
|
||||||
BorderSizePixel = 0,
|
|
||||||
})
|
|
||||||
end),
|
|
||||||
})
|
|
||||||
end
|
end
|
||||||
|
|
||||||
return e(StudioPluginContext.Provider, {
|
return e(StudioPluginContext.Provider, {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue