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:
Joe 2026-02-01 10:42:02 -06:00
parent b2ce199a37
commit df70dc1ff4
4 changed files with 38 additions and 21 deletions

View file

@ -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,