From 37ee4856fffc7050fafae33c56e39c2a437c4713 Mon Sep 17 00:00:00 2001 From: Manolis Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Wed, 25 Nov 2020 01:21:28 +0200 Subject: [PATCH] Fixed an issue with brushes --- src/Tools/Draw.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tools/Draw.gd b/src/Tools/Draw.gd index 9e9db92e7..3dcf39aee 100644 --- a/src/Tools/Draw.gd +++ b/src/Tools/Draw.gd @@ -260,7 +260,7 @@ func draw_tool_brush(position : Vector2) -> void: if Global.mirror_view: 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) var size := _brush_image.get_size()