diff --git a/src/electron.renderer/ui/modal/panel/EditAllAutoLayerRules.hx b/src/electron.renderer/ui/modal/panel/EditAllAutoLayerRules.hx index e63375bf8..263645b9c 100644 --- a/src/electron.renderer/ui/modal/panel/EditAllAutoLayerRules.hx +++ b/src/electron.renderer/ui/modal/panel/EditAllAutoLayerRules.hx @@ -212,8 +212,8 @@ class EditAllAutoLayerRules extends ui.modal.Panel { for( ruleTiles in li.autoTilesCache.get(r.uid) ) { for(t in ruleTiles) { editor.levelRender.temp.drawRect( - t.x, - t.y, + t.x+li.pxTotalOffsetX, + t.y+li.pxTotalOffsetY, li.def.gridSize, li.def.gridSize );