mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-19 01:29:49 +00:00
Update project.godot and fix formatting
This commit is contained in:
parent
5b1c79df05
commit
4f1705c1e1
|
@ -15,7 +15,7 @@ config/description="A free & open-source 2D sprite editor"
|
||||||
run/main_scene="res://src/Main.tscn"
|
run/main_scene="res://src/Main.tscn"
|
||||||
config/use_custom_user_dir=true
|
config/use_custom_user_dir=true
|
||||||
config/custom_user_dir_name="pixelorama"
|
config/custom_user_dir_name="pixelorama"
|
||||||
config/features=PackedStringArray("4.1")
|
config/features=PackedStringArray("4.2")
|
||||||
run/low_processor_mode=true
|
run/low_processor_mode=true
|
||||||
boot_splash/bg_color=Color(0.145098, 0.145098, 0.164706, 1)
|
boot_splash/bg_color=Color(0.145098, 0.145098, 0.164706, 1)
|
||||||
boot_splash/image="res://assets/graphics/splash.png"
|
boot_splash/image="res://assets/graphics/splash.png"
|
||||||
|
|
|
@ -8,7 +8,8 @@ var cursor_text := ""
|
||||||
var _cursor := Vector2i(Vector2.INF)
|
var _cursor := Vector2i(Vector2.INF)
|
||||||
|
|
||||||
var _draw_cache: Array[Vector2i] = [] ## For storing already drawn pixels
|
var _draw_cache: Array[Vector2i] = [] ## For storing already drawn pixels
|
||||||
@warning_ignore("unused_private_class_variable") var _for_frame := 0 ## Cache for which frame
|
@warning_ignore("unused_private_class_variable")
|
||||||
|
var _for_frame := 0 ## Cache for which frame
|
||||||
|
|
||||||
# Only use _spacing_mode and _spacing variables (the others are set automatically)
|
# Only use _spacing_mode and _spacing variables (the others are set automatically)
|
||||||
# The _spacing_mode and _spacing values are to be CHANGED only in the tool scripts (e.g Pencil.gd)
|
# The _spacing_mode and _spacing values are to be CHANGED only in the tool scripts (e.g Pencil.gd)
|
||||||
|
|
|
@ -9,7 +9,8 @@ var _brush_image := Image.new()
|
||||||
var _orignal_brush_image := Image.new() ## Contains the original _brush_image, without resizing
|
var _orignal_brush_image := Image.new() ## Contains the original _brush_image, without resizing
|
||||||
var _brush_texture := ImageTexture.new()
|
var _brush_texture := ImageTexture.new()
|
||||||
var _strength := 1.0
|
var _strength := 1.0
|
||||||
@warning_ignore("unused_private_class_variable") var _picking_color := false
|
@warning_ignore("unused_private_class_variable")
|
||||||
|
var _picking_color := false
|
||||||
|
|
||||||
var _undo_data := {}
|
var _undo_data := {}
|
||||||
var _drawer := Drawer.new()
|
var _drawer := Drawer.new()
|
||||||
|
|
Loading…
Reference in a new issue