Compare commits
2 Commits
main
...
playWithSp
Author | SHA1 | Date | |
---|---|---|---|
|
a08a07e845 | ||
|
f698d44eb1 |
@ -105,6 +105,7 @@ class _PasstrackState extends State<PassTrackWidget> {
|
||||
_passTrackPlugin.waitForTile(() {
|
||||
var start = DateTime.now().millisecondsSinceEpoch;
|
||||
print("len: ${_passTrackPlugin.allTileCnt()}");
|
||||
controller.allLen = _passTrackPlugin.allTileCnt();
|
||||
_rangevalues = SfRangeValues(0, _passTrackPlugin.allTileCnt());
|
||||
_passTrackPlugin.playTrack(0, _passTrackPlugin.allTileCnt(), true, 0, ffi.nullptr);
|
||||
var end = DateTime.now().millisecondsSinceEpoch;
|
||||
@ -167,7 +168,8 @@ class _PasstrackState extends State<PassTrackWidget> {
|
||||
child: SfRangeSlider(
|
||||
min: 0.0,
|
||||
// max: maxLength,
|
||||
max: controller.allLen > 0
|
||||
max:
|
||||
controller.allLen > 0
|
||||
? controller.allLen
|
||||
: 1.0, // 确保 max 大于 0
|
||||
values: _rangevalues,
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 32d846e70117065ecb483cea80432e407ea9de9c
|
||||
Subproject commit 0b6aef315a6b7b05eec413cc6e9368611fad8e2b
|
@ -1 +1 @@
|
||||
Subproject commit dfc74693602773a5e28d045854047e408b96a55d
|
||||
Subproject commit ac2179219ba52d0c91dfd51470fd1d7ebaae69be
|
Loading…
Reference in New Issue
Block a user