mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 12:01:38 +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,
|
||||
title = popup.name,
|
||||
active = true,
|
||||
isEphemeral = true,
|
||||
|
||||
initDockState = popup.dockState or Enum.InitialDockState.Top,
|
||||
initEnabled = true,
|
||||
|
|
@ -724,18 +725,7 @@ function App:render()
|
|||
zIndexBehavior = Enum.ZIndexBehavior.Sibling,
|
||||
|
||||
onClose = popup.onClose,
|
||||
}, {
|
||||
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),
|
||||
})
|
||||
}, popup.content)
|
||||
end
|
||||
|
||||
return e(StudioPluginContext.Provider, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue