fix: Fixed issue on desktop where custom titlebar would overlap with preferences view header

This commit is contained in:
Aman Harwara
2023-04-21 19:21:00 +05:30
parent ab5b292364
commit 87cd75d324
4 changed files with 42 additions and 37 deletions

View File

@@ -20,7 +20,7 @@ const PreferencesViewWrapper: FunctionComponent<PreferencesViewWrapperProps> = (
}, [commandService, viewControllerManager])
return (
<ModalOverlay isOpen={viewControllerManager.preferencesController.isOpen}>
<ModalOverlay isOpen={viewControllerManager.preferencesController.isOpen} portal={false}>
<PreferencesView
closePreferences={() => viewControllerManager.preferencesController.closePreferences()}
application={application}