Skip to content

Commit

Permalink
Fixed rule preview in offseted layers
Browse files Browse the repository at this point in the history
  • Loading branch information
deepnight committed Sep 21, 2023
1 parent c87b5e1 commit 2ee4e00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/electron.renderer/ui/modal/panel/EditAllAutoLayerRules.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
Expand Down

0 comments on commit 2ee4e00

Please # to comment.