mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
fix menu position
fix sc opt ui Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -148,7 +148,7 @@ class CustomGridView extends StatelessWidget {
|
||||
HapticFeedback.mediumImpact();
|
||||
showMenu(
|
||||
context: context,
|
||||
position: .fromLTRB(offset.dx, offset.dy, offset.dx, 0),
|
||||
position: PageUtils.menuPosition(offset),
|
||||
items: [
|
||||
if (PlatformUtils.isMobile)
|
||||
PopupMenuItem(
|
||||
|
||||
@@ -494,7 +494,7 @@ class _InteractiveviewerGalleryState extends State<InteractiveviewerGallery>
|
||||
void _showDesktopMenu(Offset offset, SourceModel item) {
|
||||
showMenu(
|
||||
context: context,
|
||||
position: RelativeRect.fromLTRB(offset.dx, offset.dy, offset.dx, 0),
|
||||
position: PageUtils.menuPosition(offset),
|
||||
items: [
|
||||
PopupMenuItem(
|
||||
height: 42,
|
||||
|
||||
Reference in New Issue
Block a user