From 370b8acd91c138c6bbcc6f127e0b58d9f84e3e9b Mon Sep 17 00:00:00 2001 From: Alexandru Mariuti Date: Fri, 20 Sep 2024 17:14:41 +0200 Subject: [PATCH] fix/mouse-area-trackpad-kind (#149) --- CHANGELOG.md | 4 ++++ lib/src/utils/mouse_area.dart | 2 -- pubspec.yaml | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 237b9d2..8a8c062 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.9.7 + +- Remove kind event from `ShadMouseArea` + ## 0.9.6 - Fix: the browser context menu has been enabled again, and deactivated only for the `ShadContextMenu` component. diff --git a/lib/src/utils/mouse_area.dart b/lib/src/utils/mouse_area.dart index a8e38bf..325579f 100644 --- a/lib/src/utils/mouse_area.dart +++ b/lib/src/utils/mouse_area.dart @@ -95,7 +95,6 @@ class MouseAreaSurfaceRenderBox extends RenderProxyBoxWithHitTestBehavior PointerExitEvent( viewId: event.viewId, timeStamp: event.timeStamp, - kind: event.kind, pointer: event.pointer, device: event.device, position: event.position, @@ -124,7 +123,6 @@ class MouseAreaSurfaceRenderBox extends RenderProxyBoxWithHitTestBehavior PointerEnterEvent( viewId: event.viewId, timeStamp: event.timeStamp, - kind: event.kind, pointer: event.pointer, device: event.device, position: event.position, diff --git a/pubspec.yaml b/pubspec.yaml index a5ddd2f..beb37f3 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: shadcn_ui description: shadcn-ui ported in Flutter. Awesome UI components for Flutter, fully customizable. -version: 0.9.6 +version: 0.9.7 homepage: https://mariuti.com/shadcn-ui repository: https://github.com/nank1ro/flutter-shadcn-ui documentation: https://mariuti.com/shadcn-ui