You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Add focus font color to Button and derivatives
This commit is contained in:
@@ -75,7 +75,11 @@ void LinkButton::_notification(int p_what) {
|
||||
|
||||
switch (get_draw_mode()) {
|
||||
case DRAW_NORMAL: {
|
||||
color = get_color("font_color");
|
||||
if (has_focus()) {
|
||||
color = get_color("font_color_focus");
|
||||
} else {
|
||||
color = get_color("font_color");
|
||||
}
|
||||
do_underline = underline_mode == UNDERLINE_MODE_ALWAYS;
|
||||
} break;
|
||||
case DRAW_HOVER_PRESSED:
|
||||
|
||||
Reference in New Issue
Block a user