mirror of
https://github.com/Relintai/GraphicsEditor.git
synced 2024-11-12 08:15:17 +01:00
9 lines
283 B
GDScript
9 lines
283 B
GDScript
tool
|
|
extends "../Tool.gd"
|
|
|
|
func on_left_mouse_click():
|
|
canvas.util.set_pixels_from_line(last_cell_mouse_position, cell_mouse_position, selected_color)
|
|
|
|
func on_right_mouse_click():
|
|
canvas.util.set_pixels_from_line(last_cell_mouse_position, cell_mouse_position, Color(0, 0, 0, 0))
|