Skip to content

Commit

Permalink
Use latest plugingui component
Browse files Browse the repository at this point in the history
  • Loading branch information
boatbomber committed Sep 18, 2023
1 parent c9ca6be commit 5884247
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions plugin/src/App/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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, {
Expand Down

0 comments on commit 5884247

Please sign in to comment.