mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-08-04 06:52:59 +10:00
Added HitTestBehavior.opaque, per code review comments
This commit is contained in:
@@ -537,6 +537,7 @@ class _RoutingSheetBodyState extends State<_RoutingSheetBody> {
|
|||||||
];
|
];
|
||||||
|
|
||||||
return Listener(
|
return Listener(
|
||||||
|
behavior: HitTestBehavior.opaque,
|
||||||
onPointerDown: PlatformInfo.isDesktop && hasBytes
|
onPointerDown: PlatformInfo.isDesktop && hasBytes
|
||||||
? (event) {
|
? (event) {
|
||||||
if (event.buttons & kSecondaryMouseButton != 0) {
|
if (event.buttons & kSecondaryMouseButton != 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user