|
|
|
@ -40,6 +40,7 @@ public class OnlineEmbedFilterSelectPane extends AbstractOnlineWidgetSelectPane
|
|
|
|
|
private static final String CAROUSEL_PREVIEW = "carousel_preview"; |
|
|
|
|
private static final int CAROUSE_IMAGE_LOAD_TIMEOUT = 2000; |
|
|
|
|
private OnlineShareWidget[] showWidgets; |
|
|
|
|
private static final int NOT_CAROUSE_WIDGET_NUM = 30; |
|
|
|
|
|
|
|
|
|
private PreviewDialog previewDialog; |
|
|
|
|
private JPanel widgetPane; |
|
|
|
@ -144,7 +145,7 @@ public class OnlineEmbedFilterSelectPane extends AbstractOnlineWidgetSelectPane
|
|
|
|
|
stopCarouse(integer); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
if (integer.get() == 0) { |
|
|
|
|
if (integer.get() == NOT_CAROUSE_WIDGET_NUM) { |
|
|
|
|
CarouselStateManger.getInstance().stop(); |
|
|
|
|
stopCarouse(integer); |
|
|
|
|
previewDialog.setVisible(false); |
|
|
|
|