mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 14:01:37 +00:00
Refactor transparency logic and improve button interaction in PatchVisualizer
- Simplified transparency handling in the SelectionOption component to enhance hover effects for parent-only and normal nodes. - Updated the DomLabel component to ensure the button is active for input events, improving user interaction. - Cleaned up comments for clarity and maintainability.
This commit is contained in:
parent
b2ce199a37
commit
df70dc1ff4
4 changed files with 38 additions and 21 deletions
|
|
@ -124,9 +124,9 @@ function NotConnectedPage:render()
|
|||
}),
|
||||
}),
|
||||
|
||||
Connect = e(TextButton, {
|
||||
text = "Sync",
|
||||
style = "Primary",
|
||||
Connect = e(TextButton, {
|
||||
text = "Sync",
|
||||
style = "Primary",
|
||||
transparency = self.props.transparency,
|
||||
layoutOrder = 2,
|
||||
onClick = self.props.onConnect,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue