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