mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-30 23:19:49 +00:00
Fixed an issue with brushes
This commit is contained in:
parent
96454a2d57
commit
37ee4856ff
|
@ -260,7 +260,7 @@ func draw_tool_brush(position : Vector2) -> void:
|
||||||
if Global.mirror_view:
|
if Global.mirror_view:
|
||||||
position.x = Global.current_project.size.x - position.x
|
position.x = Global.current_project.size.x - position.x
|
||||||
|
|
||||||
if Global.tile_mode and _get_tile_mode_rect().has_point(position):
|
if Global.current_project.tile_mode and _get_tile_mode_rect().has_point(position):
|
||||||
position = position.posmodv(Global.current_project.size)
|
position = position.posmodv(Global.current_project.size)
|
||||||
|
|
||||||
var size := _brush_image.get_size()
|
var size := _brush_image.get_size()
|
||||||
|
|
Loading…
Reference in a new issue