refactoring UI
This commit was merged in pull request #26.
This commit is contained in:
@@ -25,6 +25,8 @@ func _ready():
|
||||
|
||||
func _on_gui_input(event: InputEvent) -> void:
|
||||
if event is InputEventMouseButton and event.button_index == MOUSE_BUTTON_LEFT and event.pressed:
|
||||
if is_selected:
|
||||
return
|
||||
on_tab_selected.emit(index)
|
||||
|
||||
func select():
|
||||
|
||||
Reference in New Issue
Block a user