fix change view dropdown not working on macos clicking
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
This commit is contained in:
parent
a2bc02b4c5
commit
203891c957
@ -824,13 +824,14 @@ class _PeerViewDropdownState extends State<PeerViewDropdown> {
|
|||||||
setState(() {
|
setState(() {
|
||||||
menuPos = RelativeRect.fromLTRB(x, y, x, y);
|
menuPos = RelativeRect.fromLTRB(x, y, x, y);
|
||||||
});
|
});
|
||||||
},
|
showMenu(
|
||||||
onTap: () => showMenu(
|
|
||||||
context: context,
|
context: context,
|
||||||
position: menuPos,
|
position: menuPos,
|
||||||
items: items,
|
items: items,
|
||||||
elevation: 8,
|
elevation: 8,
|
||||||
),
|
);
|
||||||
|
},
|
||||||
|
onTap: () => {}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user