mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 21:14:42 -04:00
Moved canvas indicator drawing to a new script
Cursor indicators now appear on top of the grid again
This commit is contained in:
parent
92332cc52e
commit
f2136236b1
4 changed files with 19 additions and 6 deletions
|
@ -308,7 +308,7 @@ func draw_indicator() -> void:
|
|||
|
||||
|
||||
func draw_indicator_at(position : Vector2, offset : Vector2, color : Color) -> void:
|
||||
var canvas = Global.canvas
|
||||
var canvas = Global.canvas.indicators
|
||||
if _brush.type in [Brushes.FILE, Brushes.RANDOM_FILE, Brushes.CUSTOM] and not _draw_line:
|
||||
position -= (_brush_image.get_size() / 2).floor()
|
||||
position -= offset
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue