mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
Update button style logic in Confirming page based on selection state
- Modified the button style in the Confirming page to dynamically switch between "Primary" and "Neutral" based on whether all items are selected, enhancing visual feedback for users. This change aims to improve user experience by providing clearer indications of the current selection state.
This commit is contained in:
parent
cd87c63a89
commit
b8bd92d665
2 changed files with 1 additions and 4 deletions
|
|
@ -366,7 +366,7 @@ function ConfirmingPage:render()
|
|||
|
||||
Accept = e(TextButton, {
|
||||
text = if hasChanges then "Accept" else "OK",
|
||||
style = "Primary",
|
||||
style = if allSelected then "Primary" else "Neutral",
|
||||
transparency = self.props.transparency,
|
||||
layoutOrder = 2,
|
||||
onClick = function()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue