mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 21:41:37 +00:00
Remove unneeded frame
This commit is contained in:
parent
b8e5fda482
commit
e7cf73320b
1 changed files with 48 additions and 54 deletions
|
|
@ -149,11 +149,6 @@ function Notification:render()
|
||||||
e(BorderedContainer, {
|
e(BorderedContainer, {
|
||||||
transparency = transparency,
|
transparency = transparency,
|
||||||
size = UDim2.new(1, 0, 1, 0),
|
size = UDim2.new(1, 0, 1, 0),
|
||||||
}, {
|
|
||||||
Contents = e("Frame", {
|
|
||||||
Size = UDim2.new(0, 35 + contentX, 1, -paddingY),
|
|
||||||
Position = UDim2.new(0, 0, 0, paddingY / 2),
|
|
||||||
BackgroundTransparency = 1,
|
|
||||||
}, {
|
}, {
|
||||||
Logo = e("ImageLabel", {
|
Logo = e("ImageLabel", {
|
||||||
ImageTransparency = transparency,
|
ImageTransparency = transparency,
|
||||||
|
|
@ -212,7 +207,6 @@ function Notification:render()
|
||||||
Buttons = Roact.createFragment(actionButtons),
|
Buttons = Roact.createFragment(actionButtons),
|
||||||
})
|
})
|
||||||
else nil,
|
else nil,
|
||||||
}),
|
|
||||||
|
|
||||||
Padding = e("UIPadding", {
|
Padding = e("UIPadding", {
|
||||||
PaddingLeft = UDim.new(0, paddingX / 2),
|
PaddingLeft = UDim.new(0, paddingX / 2),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue