mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 18:34:43 -04:00
Refactoring Main.gd. Mostly cutting big methods into smaller ones. (#244)
* Refactoring Main.gd. Mostly cutting big methods into smaller one. - Reduced size of _ready method in Main.gd - Moved code from certain parts of old _ready method into seperate methods - Fixed the translation bug related to CurrentFrame node in TopMenuContainer scene. The CurrentFrame node wasn't updating the language when I was changing language. I've also changed the translation file for this. - Fixed Global.palette_option_button.selected related warning. Because of some unknown reasons, git didn't push completed line there. - Moved code from file_menu_id_pressed and view_menu_id_pressed method in Main.gd to separate methods to make it more readable. * Removed window_title changes from Main.tscn Co-authored-by: OverloadedOrama <35376950+OverloadedOrama@users.noreply.github.com>
This commit is contained in:
parent
852e249143
commit
aae3ae0cf4
5 changed files with 282 additions and 183 deletions
|
@ -732,9 +732,6 @@ msgstr ""
|
|||
msgid "Current frame:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Current frame: 1/1"
|
||||
msgstr ""
|
||||
|
||||
msgid "Jump to the first frame\n"
|
||||
"(%s)"
|
||||
msgstr ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue