1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-03 19:11:41 +00:00

Add hover styles to buttons in Script/Shader editor

This commit is contained in:
Giganzo
2025-07-22 21:59:43 +02:00
parent 0c51ede243
commit c21a03361a
9 changed files with 49 additions and 22 deletions

View File

@@ -488,7 +488,7 @@ void ScreenSelect::pressed() {
ScreenSelect::ScreenSelect() {
set_button_mask(MouseButtonMask::RIGHT);
set_flat(true);
set_theme_type_variation(SceneStringName(FlatButton));
set_toggle_mode(true);
set_focus_mode(FOCUS_NONE);
set_action_mode(ACTION_MODE_BUTTON_PRESS);