Browse Source

REPORT-111337 【设计器性能】设计器卡顿优化 打开模板动画优化

fix-lag
Destiny.Lin 11 months ago
parent
commit
32fdc712f3
  1. 4
      designer-base/src/main/java/com/fr/design/worker/check/BaseCheckLockWorker.java

4
designer-base/src/main/java/com/fr/design/worker/check/CheckLockWorker.java → designer-base/src/main/java/com/fr/design/worker/check/BaseCheckLockWorker.java

@ -14,14 +14,14 @@ import java.util.concurrent.TimeoutException;
* @since 11.0
* Created on 2024/1/8
*/
public abstract class CheckLockWorker extends SwingWorker<CheckLockResult, Void> {
public abstract class BaseCheckLockWorker extends SwingWorker<CheckLockResult, Void> {
private static final int TIME_OUT = 50;
private boolean slowly = false;
private final Callable<CheckLockResult> doInBackground;
private CheckLockResult result;
public CheckLockWorker(Callable<CheckLockResult> doInBackground) {
public BaseCheckLockWorker(Callable<CheckLockResult> doInBackground) {
this.doInBackground = doInBackground;
}
@Override
Loading…
Cancel
Save