mirror of
https://github.com/cyberarm/cyberarm_engine.git
synced 2025-12-16 13:12:34 +00:00
Button no longer shows 'active' color if it was not clicked upon
This commit is contained in:
@@ -14,7 +14,7 @@ module CyberarmEngine
|
|||||||
@text.color = @options[:interactive_stroke]
|
@text.color = @options[:interactive_stroke]
|
||||||
end
|
end
|
||||||
|
|
||||||
def holding_left_mouse_button(sender, x, y)
|
def left_mouse_button(sender, x, y)
|
||||||
@background = @options[:interactive_active_background]
|
@background = @options[:interactive_active_background]
|
||||||
@text.color = @options[:interactive_active_stroke]
|
@text.color = @options[:interactive_active_stroke]
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user