mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-03-13 06:45:17 +00:00
When the user clicked on a layer container to change its name and then clicked away, the program crashed. This was because the name of the layer was changed (`Global.layers[i][0] = new_name`), and Global.layers_changed() was being called, which removed all of the layer container UI and re-created it. This is unneeded to happen when only the layer name changes, so I added a boolean to skip the execution of the method. Oddly enough, the crash was not happening on Windows (at least on my end) and it was working as expected. Godot's output terminal was not showing any error messages, either. |
||
---|---|---|
.. | ||
Dialogs | ||
Palette | ||
Rulers | ||
AnimationTimeline.gd | ||
BrushButton.gd | ||
CameraMovement.gd | ||
Canvas.gd | ||
FrameButton.gd | ||
Global.gd | ||
Import.gd | ||
LayerContainer.gd | ||
Main.gd | ||
NotificationLabel.gd | ||
SecondViewport.gd | ||
SelectionRectangle.gd |