Skip to content

Commit 9bdb29b

Browse files
(v2) Scene editor: do not add border.
1 parent e5e0da7 commit 9bdb29b

File tree

1 file changed

+1
-2
lines changed
  • source/v2/phasereditor/phasereditor.scene.ui/src/phasereditor/scene/ui/editor/properties

1 file changed

+1
-2
lines changed

source/v2/phasereditor/phasereditor.scene.ui/src/phasereditor/scene/ui/editor/properties/AnimationsSection.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626

2727
import org.eclipse.jface.action.ToolBarManager;
2828
import org.eclipse.jface.window.Window;
29-
import org.eclipse.swt.SWT;
3029
import org.eclipse.swt.events.SelectionListener;
3130
import org.eclipse.swt.layout.GridData;
3231
import org.eclipse.swt.layout.GridLayout;
@@ -81,7 +80,7 @@ public Control createContent(Composite parent) {
8180
_clearBtn.setText("Clear");
8281
_clearBtn.addSelectionListener(SelectionListener.widgetSelectedAdapter(e -> clearAnimation()));
8382

84-
_animCanvas = new AnimationPreviewComp(comp, SWT.BORDER);
83+
_animCanvas = new AnimationPreviewComp(comp, 0);
8584
{
8685
var gd = new GridData(GridData.FILL_BOTH);
8786
gd.horizontalSpan = 2;

0 commit comments

Comments
 (0)