Compare commits

...

3 Commits

Author SHA1 Message Date
dom
cbe99a32eb fix player interactive viewer recognizer
Signed-off-by: dom <githubaccount56556@proton.me>
2026-03-06 18:54:01 +08:00
dom
b65d10ac5f flutter 3.41.4
Signed-off-by: dom <githubaccount56556@proton.me>
2026-03-06 17:51:43 +08:00
dom
868f7f5055 increase image max ratio
Signed-off-by: dom <githubaccount56556@proton.me>
2026-03-06 12:43:55 +08:00
5 changed files with 9 additions and 8 deletions

2
.fvmrc
View File

@@ -1,3 +1,3 @@
{ {
"flutter": "3.41.3" "flutter": "3.41.4"
} }

View File

@@ -7,7 +7,7 @@ abstract final class StyleString {
static const Radius imgRadius = Radius.circular(10); static const Radius imgRadius = Radius.circular(10);
static const double aspectRatio = 16 / 10; static const double aspectRatio = 16 / 10;
static const double aspectRatio16x9 = 16 / 9; static const double aspectRatio16x9 = 16 / 9;
static const double imgMaxRatio = 22 / 9; static const double imgMaxRatio = 3.0;
static const bottomSheetRadius = BorderRadius.vertical( static const bottomSheetRadius = BorderRadius.vertical(
top: Radius.circular(18), top: Radius.circular(18),
); );

View File

@@ -686,6 +686,7 @@ class _MouseInteractiveViewerState extends State<MouseInteractiveViewer>
_scaleGestureRecognizer = _scaleGestureRecognizer =
ScaleGestureRecognizer( ScaleGestureRecognizer(
debugOwner: this, debugOwner: this,
dragStartBehavior: .start,
allowedButtonsFilter: (buttons) => buttons == kPrimaryButton, allowedButtonsFilter: (buttons) => buttons == kPrimaryButton,
trackpadScrollToScaleFactor: Offset(0, -1 / widget.scaleFactor), trackpadScrollToScaleFactor: Offset(0, -1 / widget.scaleFactor),
trackpadScrollCausesScale: widget.trackpadScrollCausesScale, trackpadScrollCausesScale: widget.trackpadScrollCausesScale,

View File

@@ -1105,10 +1105,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: matcher name: matcher
sha256: "12956d0ad8390bbcc63ca2e1469c0619946ccb52809807067a7020d57e647aa6" sha256: dc0b7dc7651697ea4ff3e69ef44b0407ea32c487a39fff6a4004fa585e901861
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.12.18" version: "0.12.19"
material_color_utilities: material_color_utilities:
dependency: "direct main" dependency: "direct main"
description: description:
@@ -1774,10 +1774,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: test_api name: test_api
sha256: "93167629bfc610f71560ab9312acdda4959de4df6fac7492c89ff0d3886f6636" sha256: "8161c84903fd860b26bfdefb7963b3f0b68fee7adea0f59ef805ecca346f0c7a"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.7.9" version: "0.7.10"
tray_manager: tray_manager:
dependency: "direct main" dependency: "direct main"
description: description:
@@ -2054,4 +2054,4 @@ packages:
version: "3.1.3" version: "3.1.3"
sdks: sdks:
dart: ">=3.10.3 <4.0.0" dart: ">=3.10.3 <4.0.0"
flutter: "3.41.3" flutter: "3.41.4"

View File

@@ -21,7 +21,7 @@ version: 2.0.0+1
environment: environment:
sdk: ">=3.10.0" sdk: ">=3.10.0"
flutter: 3.41.3 # update `.fvmrc` config flutter: 3.41.4 # update `.fvmrc` config
# Dependencies specify other packages that your package needs in order to work. # Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions # To automatically upgrade your package dependencies to the latest versions