mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
upgrade deps
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -120,7 +120,7 @@ class _PlDanmakuState extends State<PlDanmaku> {
|
|||||||
_controller!.addDanmaku(
|
_controller!.addDanmaku(
|
||||||
DanmakuContentItem(
|
DanmakuContentItem(
|
||||||
e.content,
|
e.content,
|
||||||
color: playerController.blockTypes.contains(6)
|
color: playerController.blockColorful
|
||||||
? Colors.white
|
? Colors.white
|
||||||
: DmUtils.decimalToColor(e.color),
|
: DmUtils.decimalToColor(e.color),
|
||||||
type: DmUtils.getPosition(e.mode),
|
type: DmUtils.getPosition(e.mode),
|
||||||
|
|||||||
@@ -359,7 +359,9 @@ class LiveRoomController extends GetxController {
|
|||||||
plPlayerController.danmakuController?.addDanmaku(
|
plPlayerController.danmakuController?.addDanmaku(
|
||||||
DanmakuContentItem(
|
DanmakuContentItem(
|
||||||
extra['content'],
|
extra['content'],
|
||||||
color: DmUtils.decimalToColor(extra['color']),
|
color: plPlayerController.blockColorful
|
||||||
|
? Colors.white
|
||||||
|
: DmUtils.decimalToColor(extra['color']),
|
||||||
type: DmUtils.getPosition(extra['mode']),
|
type: DmUtils.getPosition(extra['mode']),
|
||||||
selfSend: extra['send_from_me'] ?? false,
|
selfSend: extra['send_from_me'] ?? false,
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -1537,6 +1537,7 @@ class HeaderControlState extends State<HeaderControl> {
|
|||||||
}
|
}
|
||||||
plPlayerController
|
plPlayerController
|
||||||
..blockTypes = blockTypes
|
..blockTypes = blockTypes
|
||||||
|
..blockColorful = blockTypes.contains(6)
|
||||||
..putDanmakuSettings();
|
..putDanmakuSettings();
|
||||||
setState(() {});
|
setState(() {});
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -322,6 +322,7 @@ class PlPlayerController {
|
|||||||
.toRadixString(16);
|
.toRadixString(16);
|
||||||
// 弹幕相关配置
|
// 弹幕相关配置
|
||||||
late Set<int> blockTypes = Pref.danmakuBlockType;
|
late Set<int> blockTypes = Pref.danmakuBlockType;
|
||||||
|
late bool blockColorful = blockTypes.contains(6);
|
||||||
late double showArea = Pref.danmakuShowArea;
|
late double showArea = Pref.danmakuShowArea;
|
||||||
late RxDouble danmakuOpacity = Pref.danmakuOpacity.obs;
|
late RxDouble danmakuOpacity = Pref.danmakuOpacity.obs;
|
||||||
late double danmakuFontScale = Pref.danmakuFontScale;
|
late double danmakuFontScale = Pref.danmakuFontScale;
|
||||||
|
|||||||
14
pubspec.lock
14
pubspec.lock
@@ -255,7 +255,7 @@ packages:
|
|||||||
description:
|
description:
|
||||||
path: "."
|
path: "."
|
||||||
ref: main
|
ref: main
|
||||||
resolved-ref: "8bc84fa5cb6d85c420e5694081fbe2d33ff8ad93"
|
resolved-ref: "6bc3f15b65c3f27abe3bb4da0e5175cc4983ac11"
|
||||||
url: "https://github.com/bggRGjQaUbCoE/canvas_danmaku.git"
|
url: "https://github.com/bggRGjQaUbCoE/canvas_danmaku.git"
|
||||||
source: git
|
source: git
|
||||||
version: "0.2.6"
|
version: "0.2.6"
|
||||||
@@ -912,26 +912,26 @@ packages:
|
|||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: image_cropper
|
name: image_cropper
|
||||||
sha256: d104cc1f90b0d38ac309f7ec240b8f55f2c6e76d1bfae05e23917bfea631e725
|
sha256: "46c8f9aae51c8350b2a2982462f85a129e77b04675d35b09db5499437d7a996b"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "10.0.0+1"
|
version: "11.0.0"
|
||||||
image_cropper_for_web:
|
image_cropper_for_web:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: image_cropper_for_web
|
name: image_cropper_for_web
|
||||||
sha256: fd81ebe36f636576094377aab32673c4e5d1609b32dec16fad98d2b71f1250a9
|
sha256: e09749714bc24c4e3b31fbafa2e5b7229b0ff23e8b14d4ba44bd723b77611a0f
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "6.1.0"
|
version: "7.0.0"
|
||||||
image_cropper_platform_interface:
|
image_cropper_platform_interface:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: image_cropper_platform_interface
|
name: image_cropper_platform_interface
|
||||||
sha256: "2d8db8f4b638e448fa89a1e77cd8f053b4547472bd3ae073169e86626d03afef"
|
sha256: "886a30ec199362cdcc2fbb053b8e53347fbfb9dbbdaa94f9ff85622609f5e7ff"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "7.2.0"
|
version: "8.0.0"
|
||||||
image_picker:
|
image_picker:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
|||||||
@@ -187,7 +187,7 @@ dependencies:
|
|||||||
intl: ^0.20.2
|
intl: ^0.20.2
|
||||||
archive: ^4.0.0
|
archive: ^4.0.0
|
||||||
flutter_svg: ^2.0.14
|
flutter_svg: ^2.0.14
|
||||||
image_cropper: ^10.0.0+1
|
image_cropper: ^11.0.0
|
||||||
#解压直播消息
|
#解压直播消息
|
||||||
brotli: ^0.6.0
|
brotli: ^0.6.0
|
||||||
expandable: ^5.0.1
|
expandable: ^5.0.1
|
||||||
|
|||||||
Reference in New Issue
Block a user