mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-08 11:29:47 +00:00
* gdformat . * Lint code - Part 1 * Format code - Part 2 * Lint code - Part 2 Trying to fix the max allowed line length errors * Add normal_map_invert_y to the image .import files Because of Godot 3.4 * Do not call private methods outside of the script's scope Lint code - Part 3 * Format code - Part 3 * Fixed more line length exceeded errors - Lint code Part 3 * Export array of licenses - Lint code part 4 * Clean hint_tooltip code from Global Removes a lot of lines of code * Create static-checks.yml * Fix FreeType's license
12 lines
208 B
GDScript
12 lines
208 B
GDScript
extends Node2D
|
|
|
|
|
|
func _input(event: InputEvent) -> void:
|
|
if Global.has_focus and event is InputEventMouse:
|
|
update()
|
|
|
|
|
|
func _draw() -> void:
|
|
if Global.has_focus and Global.can_draw:
|
|
Tools.draw_preview()
|