|
|
|
@ -57,8 +57,7 @@ public class OnlineEmbedFilterSelectPane extends AbstractOnlineWidgetSelectPane
|
|
|
|
|
Point selectPanePoint = OnlineEmbedFilterSelectPane.this.getLocationOnScreen(); |
|
|
|
|
Dimension selectPaneDimension = OnlineEmbedFilterSelectPane.this.getSize(); |
|
|
|
|
Rectangle selectPaneRec = new Rectangle(selectPanePoint.x, selectPanePoint.y, selectPaneDimension.width, selectPaneDimension.height); |
|
|
|
|
if (CarouselStateManger.getInstance().running() && |
|
|
|
|
!selectPaneRec.contains(((MouseEvent) event).getLocationOnScreen())) { |
|
|
|
|
if (!selectPaneRec.contains(((MouseEvent) event).getLocationOnScreen())) { |
|
|
|
|
CarouselStateManger.getInstance().stop(); |
|
|
|
|
} |
|
|
|
|
} catch (Exception e) { |
|
|
|
@ -173,6 +172,12 @@ public class OnlineEmbedFilterSelectPane extends AbstractOnlineWidgetSelectPane
|
|
|
|
|
} |
|
|
|
|
if (!CarouselStateManger.getInstance().isSuspend()) { |
|
|
|
|
previewDialog.setVisible(true); |
|
|
|
|
//再做一次检查,避免因并发导致的previewDialog始终展示的问题
|
|
|
|
|
if (CarouselStateManger.getInstance().stopped()) { |
|
|
|
|
stopCarouse(integer); |
|
|
|
|
service.shutdown(); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
showCurrentLoadBlock(integer, widgetPane); |
|
|
|
|
service.shutdown(); |
|
|
|
|
} |
|
|
|
|