From 0b4fca69fddf5f04d63350a544c822e4eef0c11e Mon Sep 17 00:00:00 2001 From: passivestar <60579014+passivestar@users.noreply.github.com> Date: Tue, 3 Jun 2025 11:51:15 +0400 Subject: [PATCH] Fix GraphEdit focus --- minimal_theme.tres | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/minimal_theme.tres b/minimal_theme.tres index 3fb34cb..1536755 100644 --- a/minimal_theme.tres +++ b/minimal_theme.tres @@ -417,6 +417,14 @@ func _init() -> void: set_stylebox('pressed', 'FlatMenuButton', flat_button_pressed_sb) set_stylebox('pressed_mirrored', 'FlatMenuButton', flat_button_pressed_sb) + # GraphEdit + + sb = base_sb.duplicate() + sb.draw_center = false + sb.set_corner_radius_all(0) + _set_border(sb, mono_color * Color(1, 1, 1, 0.07), 2, false) + set_stylebox('panel_focus', 'GraphEdit', sb) + # GraphStateMachine set_color('focus_color', 'GraphStateMachine', Color.TRANSPARENT)