mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
feat: 拆分设置,新增音频输出、缓冲区、竖屏扩展显示设置
This commit is contained in:
@@ -1080,7 +1080,7 @@ class _RenderProgressBar extends RenderBox {
|
||||
if (total.inMilliseconds == 0) {
|
||||
return 0.0;
|
||||
}
|
||||
return duration.inMilliseconds / total.inMilliseconds;
|
||||
return (duration.inMilliseconds / total.inMilliseconds).clamp(0.0, 1.0);
|
||||
}
|
||||
|
||||
String _getTimeString(Duration time) {
|
||||
|
||||
Reference in New Issue
Block a user