mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-25 19:46:47 +08:00
@@ -279,8 +279,9 @@ class PlPlayerController {
|
||||
windowManager.setTitleBarStyle(TitleBarStyle.hidden);
|
||||
|
||||
late final Size size;
|
||||
final width = this.width ?? 16;
|
||||
final height = this.height ?? 9;
|
||||
final state = videoController!.player.state;
|
||||
final width = state.width ?? this.width ?? 16;
|
||||
final height = state.height ?? this.height ?? 9;
|
||||
if (height > width) {
|
||||
size = Size(400.0, 400.0 * height / width);
|
||||
} else {
|
||||
|
||||
@@ -157,8 +157,7 @@ class BottomControl extends StatelessWidget {
|
||||
maxWidth - 40,
|
||||
),
|
||||
],
|
||||
if (controller.showDmChart &&
|
||||
videoDetailController.showDmTreandChart.value)
|
||||
if (videoDetailController.showDmTreandChart.value)
|
||||
if (videoDetailController.dmTrend.value?.dataOrNull
|
||||
case final list?)
|
||||
buildDmChart(theme, list, videoDetailController, 4.5),
|
||||
|
||||
Reference in New Issue
Block a user