mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-21 17:46:24 +08:00
mod: lint
mod: tweaks opt: publish page Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -52,7 +52,7 @@ class BottomControl extends StatelessWidget implements PreferredSizeWidget {
|
||||
alignment: Alignment.bottomCenter,
|
||||
children: [
|
||||
if (controller.dmTrend.isNotEmpty &&
|
||||
controller.showDmChart.value)
|
||||
controller.showDmTreandChart.value)
|
||||
buildDmChart(theme, controller, 4.5),
|
||||
if (controller.viewPointList.isNotEmpty &&
|
||||
controller.showVP.value)
|
||||
@@ -99,12 +99,11 @@ class BottomControl extends StatelessWidget implements PreferredSizeWidget {
|
||||
if (controller.showSeekPreview) {
|
||||
controller.showPreview.value = false;
|
||||
}
|
||||
controller.onChangedSliderEnd();
|
||||
controller
|
||||
.onChangedSlider(duration.inSeconds.toDouble());
|
||||
controller.seekTo(
|
||||
Duration(seconds: duration.inSeconds),
|
||||
type: 'slider');
|
||||
..onChangedSliderEnd()
|
||||
..onChangedSlider(duration.inSeconds.toDouble())
|
||||
..seekTo(Duration(seconds: duration.inSeconds),
|
||||
type: 'slider');
|
||||
SemanticsService.announce(
|
||||
"${(duration.inSeconds / max * 100).round()}%",
|
||||
TextDirection.ltr);
|
||||
@@ -117,7 +116,7 @@ class BottomControl extends StatelessWidget implements PreferredSizeWidget {
|
||||
bottom: 5.25,
|
||||
child: IgnorePointer(
|
||||
child: CustomPaint(
|
||||
size: Size(double.infinity, 3.5),
|
||||
size: const Size(double.infinity, 3.5),
|
||||
painter: SegmentProgressBar(
|
||||
segmentColors: controller.segmentList,
|
||||
),
|
||||
@@ -132,7 +131,7 @@ class BottomControl extends StatelessWidget implements PreferredSizeWidget {
|
||||
bottom: 5.25,
|
||||
child: IgnorePointer(
|
||||
child: CustomPaint(
|
||||
size: Size(double.infinity, 3.5),
|
||||
size: const Size(double.infinity, 3.5),
|
||||
painter: SegmentProgressBar(
|
||||
segmentColors: controller.viewPointList,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user