From e8e3b7b98505dfd1ab3950053c1358a709f16a88 Mon Sep 17 00:00:00 2001 From: Lucien Greathouse Date: Tue, 10 Mar 2020 20:34:12 -0700 Subject: [PATCH] plugin: Fix dark theme when resized to be wide --- plugin/src/Components/Panel.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/src/Components/Panel.lua b/plugin/src/Components/Panel.lua index 9a19ecfc..f1961702 100644 --- a/plugin/src/Components/Panel.lua +++ b/plugin/src/Components/Panel.lua @@ -17,7 +17,8 @@ function Panel:render() return Theme.with(function(theme) return e("Frame", { Size = UDim2.new(1, 0, 1, 0), - BackgroundTransparency = 1, + BackgroundColor3 = theme.Background1, + BorderSizePixel = 1, }, { Layout = Roact.createElement("UIListLayout", { HorizontalAlignment = Enum.HorizontalAlignment.Center, @@ -26,8 +27,7 @@ function Panel:render() Body = e("Frame", { Size = UDim2.new(0, 360, 1, -32), - BackgroundColor3 = theme.Background1, - BorderSizePixel = 0, + BackgroundTransparency = 1, }, self.props[Roact.Children]), Footer = e(RojoFooter),