diff --git a/app/flutter_launcher_icons-development.yaml b/app/flutter_launcher_icons-development.yaml deleted file mode 100644 index 06cc524e2a07..000000000000 --- a/app/flutter_launcher_icons-development.yaml +++ /dev/null @@ -1,4 +0,0 @@ -flutter_icons: - android: true - ios: true - image_path: "images/nightly.png" diff --git a/app/flutter_launcher_icons-nightly.yaml b/app/flutter_launcher_icons-nightly.yaml deleted file mode 100644 index 06cc524e2a07..000000000000 --- a/app/flutter_launcher_icons-nightly.yaml +++ /dev/null @@ -1,4 +0,0 @@ -flutter_icons: - android: true - ios: true - image_path: "images/nightly.png" diff --git a/app/flutter_launcher_icons-production.yaml b/app/flutter_launcher_icons-production.yaml deleted file mode 100644 index bebf717fc682..000000000000 --- a/app/flutter_launcher_icons-production.yaml +++ /dev/null @@ -1,4 +0,0 @@ -flutter_icons: - android: true - ios: true - image_path: "images/logo.png" diff --git a/app/lib/handlers/label.dart b/app/lib/handlers/label.dart index 583b4b084b70..18c712584746 100644 --- a/app/lib/handlers/label.dart +++ b/app/lib/handlers/label.dart @@ -135,6 +135,11 @@ class LabelHandler extends Handler void onDoubleTap(EventContext context) => create(context, _doubleTapPos, true); + @override + bool canChange(PointerDownEvent event, EventContext context) => + event.kind == PointerDeviceKind.mouse && + event.buttons != kSecondaryMouseButton; + Future create(EventContext context, Offset localPosition, [bool forceCreate = false]) async { final pixelRatio = context.devicePixelRatio; diff --git a/app/pubspec.yaml b/app/pubspec.yaml index e0bc12b12b8c..9524eebacf70 100644 --- a/app/pubspec.yaml +++ b/app/pubspec.yaml @@ -102,7 +102,6 @@ dependencies: web: ^1.0.0 dev_dependencies: flutter_native_splash: ^2.4.0 - #flutter_launcher_icons: ^0.11.0 flutter_lints: ^5.0.0 flutter_test: sdk: flutter diff --git a/metadata/en-US/changelogs/121.txt b/metadata/en-US/changelogs/121.txt index faaf840d5872..323c8a2a6156 100644 --- a/metadata/en-US/changelogs/121.txt +++ b/metadata/en-US/changelogs/121.txt @@ -4,5 +4,6 @@ * Improve performance on large pages ([#667](https://github.com/LinwoodDev/Butterfly/issues/667) partially) * Improve property view * Fix changing page don't showing content ([#755](https://github.com/LinwoodDev/Butterfly/issues/755)) +* Remove label tool can be changed tool to allow context menu Read more here: https://linwood.dev/butterfly/2.2.2-rc.1 \ No newline at end of file