Browse Source

Pull request #2650: REPORT-38688 设计器在双屏下拖动会有卡屏的现象

Merge in DESIGN/design from ~HADES/design:release/10.0 to release/10.0

* commit '80c80fec57294ed7de926bf072c55941b377899f':
  REPORT-38688 设计器在双屏下拖动会有卡屏的现象
feature/big-screen
Hades 4 years ago
parent
commit
d6c6c61079
  1. 1
      designer-base/src/main/java/com/fr/design/mainframe/DesignerFrame.java

1
designer-base/src/main/java/com/fr/design/mainframe/DesignerFrame.java

@ -551,6 +551,7 @@ public class DesignerFrame extends JFrame implements JTemplateActionListener, Ta
// 这个地方remove和add都是一个对象 完全没有必要remove再add 改变了窗口大小重新设置下 然后有repaint即可
basePane.setBounds(0, 0, contentWidth, contentHeight);
layeredPane.repaint();
layeredPane.revalidate();
}
/**

Loading…
Cancel
Save