Browse Source

代码修改

feature/big-screen
kerry 4 years ago
parent
commit
f552b04403
  1. 4
      designer-form/src/main/java/com/fr/design/mainframe/FormDesignerUI.java

4
designer-form/src/main/java/com/fr/design/mainframe/FormDesignerUI.java

@ -266,8 +266,8 @@ public class FormDesignerUI extends ComponentUI {
return; return;
} }
Rectangle bounds = designer.getTopContainer().getBounds(); Rectangle bounds = designer.getTopContainer().getBounds();
bounds.x = -designer.getArea().getHorizontalValue(); bounds.x = -designer.getHorizontalScaleValue();
bounds.y = -designer.getArea().getVerticalValue(); bounds.y = -designer.getVerticalScaleValue();
Graphics clipg = g.create(); Graphics clipg = g.create();
clipg.clipRect(bounds.x, bounds.y, bounds.width + 1, bounds.height + 1); clipg.clipRect(bounds.x, bounds.y, bounds.width + 1, bounds.height + 1);
paintResizing(clipg); paintResizing(clipg);

Loading…
Cancel
Save