mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: link to page dialog offset (#3840)
This commit is contained in:
parent
59dff54edb
commit
54dbcb7c5e
@ -24,8 +24,8 @@ void showLinkToPageMenu(
|
||||
|
||||
final alignment = menuService.alignment;
|
||||
final offset = menuService.offset;
|
||||
final top = alignment == Alignment.bottomLeft ? offset.dy : null;
|
||||
final bottom = alignment == Alignment.topLeft ? offset.dy : null;
|
||||
final top = alignment == Alignment.topLeft ? offset.dy : null;
|
||||
final bottom = alignment == Alignment.bottomLeft ? offset.dy : null;
|
||||
|
||||
keepEditorFocusNotifier.increase();
|
||||
late OverlayEntry linkToPageMenuEntry;
|
||||
@ -246,7 +246,6 @@ extension on ViewLayoutPB {
|
||||
case ViewLayoutPB.Calendar:
|
||||
return LocaleKeys.document_slashMenu_calendar_selectACalendarToLinkTo
|
||||
.tr();
|
||||
|
||||
default:
|
||||
throw Exception('Unknown layout type');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user