Skip to content

Commit

Permalink
Workaround for Godot ItemList regression
Browse files Browse the repository at this point in the history
  • Loading branch information
RodZill4 committed Feb 8, 2025
1 parent 36b14c0 commit bc702ff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion material_maker/windows/add_node_popup/add_node_popup.gd
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ func update_list(filter_text : String = "") -> void:
%List.select(0)
%List.ensure_current_is_visible()


func _unhandled_input(event) -> void:
if event.is_action_pressed("ui_cancel"):
todo_renamed_hide()
Expand Down
1 change: 1 addition & 0 deletions material_maker/windows/add_node_popup/add_node_popup.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 3
theme_type_variation = &"MM_AddNodePanelList"
same_column_width = true
fixed_icon_size = Vector2i(18, 18)

[connection signal="object_selected" from="PanelContainer/VBoxContainer/Buttons/Button1" to="." method="add_node"]
Expand Down

0 comments on commit bc702ff

Please sign in to comment.