There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix: workaround for fullscreen mode (#3829)
Peng Xiao0ae6c977aa48
diff --git a/apps/electron/src/main/main-window.ts b/apps/electron/src/main/main-window.tsindex 8a829cc680..bc58aa4f79 100644--- a/apps/electron/src/main/main-window.ts+++ b/apps/electron/src/main/main-window.ts@@ -98,6 +98,13 @@ async function createWindow() {// TODO: gracefully close the app, for example, ask user to save unsaved changes});+ browserWindow.on('leave-full-screen', () => {+ // FIXME: workaround for theme bug in full screen mode+ const size = browserWindow.getSize();+ browserWindow.setSize(size[0] + 1, size[1] + 1);+ browserWindow.setSize(size[0], size[1]);+ });+/*** URL for main window.*/