Skip to content

Commit

Permalink
Quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DoomTas3r authored Oct 20, 2024
1 parent 19ca12a commit 7885bcd
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@ static func get_scene_path():


func _on_focus_entered():
_panel.add_theme_stylebox_override("panel", _panel_focus)
if not definition == null and not definition.variant_type == Variant.Type.TYPE_BOOL:
_panel.add_theme_stylebox_override("panel", _panel_focus)


func _on_focus_exited():
_panel.add_theme_stylebox_override("panel", _panel_normal)
if not definition == null and not definition.variant_type == Variant.Type.TYPE_BOOL:
_panel.add_theme_stylebox_override("panel", _panel_normal)

0 comments on commit 7885bcd

Please sign in to comment.