Added HitTestBehavior.opaque, per code review comments
This commit is contained in:
1 parent
321d4b9775
commit
80f4fd5218
1 file changed
+1
@@ -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