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;
}
Rectangle bounds = designer.getTopContainer().getBounds();
bounds.x = -designer.getArea().getHorizontalValue();
bounds.y = -designer.getArea().getVerticalValue();
bounds.x = -designer.getHorizontalScaleValue();
bounds.y = -designer.getVerticalScaleValue();
Graphics clipg = g.create();
clipg.clipRect(bounds.x, bounds.y, bounds.width + 1, bounds.height + 1);
paintResizing(clipg);

Loading…
Cancel
Save