Browse Source

REPORT-2897 9.0设计器修改

缩放条部分
master
MoMeak 7 years ago
parent
commit
3d10040e4f
  1. 2
      designer/src/com/fr/design/mainframe/JWorkBook.java

2
designer/src/com/fr/design/mainframe/JWorkBook.java

@ -382,7 +382,7 @@ public class JWorkBook extends JTemplate<WorkBook, WorkBookUndoState> {
if (resolution == 0){
resolution = ScreenResolution.getScreenResolution();
}
if (polyDezi.getSelection() !=null){
if (polyDezi != null && polyDezi.getSelection() != null){
BlockCreator blockCreator =polyDezi.getSelection();
double x = blockCreator.getEditorBounds().getX();
double y = blockCreator.getEditorBounds().getY();

Loading…
Cancel
Save