Skip to content

Commit 978138a

Browse files
Preview: Do not paint atlas border.
1 parent 123661c commit 978138a

File tree

1 file changed

+3
-3
lines changed
  • source/phasereditor/phasereditor.atlas.ui/src/phasereditor/atlas/ui

1 file changed

+3
-3
lines changed

source/phasereditor/phasereditor.atlas.ui/src/phasereditor/atlas/ui/AtlasCanvas.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
import java.util.ArrayList;
2525
import java.util.List;
2626

27-
import org.eclipse.swt.SWT;
2827
import org.eclipse.swt.events.ControlEvent;
2928
import org.eclipse.swt.events.ControlListener;
3029
import org.eclipse.swt.events.MouseEvent;
@@ -65,8 +64,9 @@ protected void drawImage(GC gc, int srcX, int srcY, int srcW, int srcH, int dstW
6564
}
6665

6766
super.drawImage(gc, srcX, srcY, srcW, srcH, dstW, dstH, dstX, dstY);
68-
gc.setForeground(getDisplay().getSystemColor(SWT.COLOR_DARK_GRAY));
69-
gc.drawRectangle(dstX, dstY, dstW, dstH);
67+
68+
// gc.setForeground(getDisplay().getSystemColor(SWT.COLOR_DARK_GRAY));
69+
// gc.drawRectangle(dstX, dstY, dstW, dstH);
7070
}
7171

7272
@Override

0 commit comments

Comments
 (0)