mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-07 10:59:49 +00:00
Fix formatting
This commit is contained in:
parent
1901078d98
commit
8fb29e050e
|
@ -565,7 +565,7 @@ func notification_label(text: String) -> void:
|
||||||
control.add_child(notif)
|
control.add_child(notif)
|
||||||
|
|
||||||
|
|
||||||
func general_undo(project:= current_project) -> void:
|
func general_undo(project := current_project) -> void:
|
||||||
project.undos -= 1
|
project.undos -= 1
|
||||||
var action_name := project.undo_redo.get_current_action_name()
|
var action_name := project.undo_redo.get_current_action_name()
|
||||||
notification_label("Undo: %s" % action_name)
|
notification_label("Undo: %s" % action_name)
|
||||||
|
|
|
@ -34,7 +34,7 @@ func _input(event: InputEvent) -> void:
|
||||||
Vector2(0.5, 0.5)
|
Vector2(0.5, 0.5)
|
||||||
)
|
)
|
||||||
|
|
||||||
var project_size: = Global.current_project.size
|
var project_size := Global.current_project.size
|
||||||
if Rect2(Vector2.ZERO, project_size).has_point(mouse_point):
|
if Rect2(Vector2.ZERO, project_size).has_point(mouse_point):
|
||||||
visible = true
|
visible = true
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -14,7 +14,7 @@ var image_exports: Array[Export.FileFormat] = [
|
||||||
Export.FileFormat.GIF,
|
Export.FileFormat.GIF,
|
||||||
Export.FileFormat.APNG
|
Export.FileFormat.APNG
|
||||||
]
|
]
|
||||||
var spritesheet_exports: Array[Export.FileFormat]= [
|
var spritesheet_exports: Array[Export.FileFormat] = [
|
||||||
Export.FileFormat.PNG, Export.FileFormat.WEBP, Export.FileFormat.JPEG
|
Export.FileFormat.PNG, Export.FileFormat.WEBP, Export.FileFormat.JPEG
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue