mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 22:34:43 -04:00
Store layer visibility on Global.layers instead
This way, toggling visibility in a layers works for all frames in that layer.
This commit is contained in:
parent
3df9853dda
commit
a2893e1c1c
7 changed files with 28 additions and 25 deletions
|
@ -163,7 +163,9 @@ func _ready() -> void:
|
|||
|
||||
Global.window_title = "(" + tr("untitled") + ") - Pixelorama"
|
||||
|
||||
Global.canvas.layers[0][2] = tr("Layer") + " 0"
|
||||
Global.layers[0][0] = tr("Layer") + " 0"
|
||||
Global.layers_container.get_child(1).label.text = Global.layers[0][0]
|
||||
Global.layers_container.get_child(1).line_edit.text = Global.layers[0][0]
|
||||
Global.canvas.generate_layer_panels()
|
||||
|
||||
Import.import_brushes("Brushes")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue