mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 21:41:37 +00:00
Only wrap the input in theme
This commit is contained in:
parent
4e9cd40062
commit
6173d479dd
1 changed files with 203 additions and 203 deletions
|
|
@ -83,7 +83,6 @@ function SettingsPage:render()
|
|||
return layoutOrder
|
||||
end
|
||||
|
||||
return Theme.with(function(theme)
|
||||
return Roact.createFragment({
|
||||
Navbar = e(Navbar, {
|
||||
onBack = self.props.onBack,
|
||||
|
|
@ -180,7 +179,8 @@ function SettingsPage:render()
|
|||
description = "Manage permissions for third party plugins",
|
||||
transparency = self.props.transparency,
|
||||
layoutOrder = layoutIncrement(),
|
||||
input = e("TextButton", {
|
||||
input = Theme.with(function(theme)
|
||||
return e("TextButton", {
|
||||
Text = "",
|
||||
BackgroundTransparency = 1,
|
||||
Size = UDim2.fromOffset(28, 28),
|
||||
|
|
@ -209,7 +209,8 @@ function SettingsPage:render()
|
|||
BackgroundTransparency = 1,
|
||||
}),
|
||||
}),
|
||||
}),
|
||||
})
|
||||
end),
|
||||
}),
|
||||
|
||||
PlaySounds = e(Setting, {
|
||||
|
|
@ -326,7 +327,6 @@ function SettingsPage:render()
|
|||
}),
|
||||
}),
|
||||
})
|
||||
end)
|
||||
end
|
||||
|
||||
return SettingsPage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue