@flexem/fc-gui 3.0.0-alpha.136 → 3.0.0-alpha.137
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -380,7 +380,7 @@ export class ScrollAlarmElement extends ConditionalDynamicDisplayElement {
|
|
|
380
380
|
if (this.displayedItems.length <= 0)
|
|
381
381
|
return;
|
|
382
382
|
// 每次滚动的距离
|
|
383
|
-
const scrollStep =
|
|
383
|
+
const scrollStep = 2; // 减小滚动步长,使滚动更平滑
|
|
384
384
|
// 更新位置 - 从右往左滚动
|
|
385
385
|
this.currentLeft -= scrollStep;
|
|
386
386
|
// 检查是否需要加载下一页(只有在自动循环模式下才需要预加载)
|