feat: harmonize Prop and Stickman editor UI
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class_name PropInspectorDropdown
|
||||
extends EditorSelectionDropdown
|
||||
## Prop-specific icon adapter for the shared editor selection dropdown.
|
||||
|
||||
const PropInspectorIconsScript := preload("res://scripts/editors/prop/prop_inspector_icons.gd")
|
||||
|
||||
|
||||
func add_icon_item(texture: Texture2D, label: String) -> void:
|
||||
add_styled_item(label, texture, PropInspectorIconsScript.popup_item(texture))
|
||||
Reference in New Issue
Block a user