mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 21:04:43 -04:00
Small UI & translation fixes
Made the right panel in Main.tscn and CreateNewImage.tscn a little bigger, changed some labels, translations and some Global.can_draws. Also added a temporary fix for a issue where Space is being treated as a mouse press, for FrameButton.gd
This commit is contained in:
parent
d2da2979f5
commit
b6c7ad4d1c
7 changed files with 113 additions and 108 deletions
|
@ -33,9 +33,11 @@ func _on_FrameButton_pressed() -> void:
|
|||
popup_menu.set_item_disabled(3, false)
|
||||
popup_menu.popup(Rect2(get_global_mouse_position(), Vector2.ONE))
|
||||
pressed = !pressed
|
||||
else: # Middle mouse click
|
||||
elif Input.is_action_just_released("middle_mouse"): # Middle mouse click
|
||||
pressed = !pressed
|
||||
Global.animation_timeline._on_DeleteFrame_pressed(frame)
|
||||
else: # An example of this would be Space
|
||||
pressed = !pressed
|
||||
|
||||
|
||||
func _on_PopupMenu_id_pressed(ID : int) -> void:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue