You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
fix hovering on toggled texture buttons
fix hovering on toggled link buttons
This commit is contained in:
@@ -75,6 +75,7 @@ void LinkButton::_notification(int p_what) {
|
||||
color = get_color("font_color");
|
||||
do_underline = underline_mode == UNDERLINE_MODE_ALWAYS;
|
||||
} break;
|
||||
case DRAW_HOVER_PRESSED:
|
||||
case DRAW_PRESSED: {
|
||||
|
||||
if (has_color("font_color_pressed"))
|
||||
@@ -91,7 +92,6 @@ void LinkButton::_notification(int p_what) {
|
||||
do_underline = underline_mode != UNDERLINE_MODE_NEVER;
|
||||
|
||||
} break;
|
||||
case DRAW_HOVER_PRESSED: break; // Not used in this class
|
||||
case DRAW_DISABLED: {
|
||||
|
||||
color = get_color("font_color_disabled");
|
||||
|
||||
Reference in New Issue
Block a user