mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-05 05:09:03 +00:00
#306 file explorer no longer opens when enhancer menu is opened
This commit is contained in:
parent
c767449bbf
commit
af2af96d46
@ -198,7 +198,7 @@ module.exports = (store, __exports) => {
|
||||
document.querySelector(
|
||||
'.notion-frame [style="padding-left: calc(96px + env(safe-area-inset-left)); padding-right: calc(96px + env(safe-area-inset-right)); max-width: 100%; margin-bottom: 8px; width: 100%;"]'
|
||||
) ||
|
||||
document.querySelector('.notion-peak-renderer') ||
|
||||
document.querySelector('.notion-peek-renderer') ||
|
||||
document.querySelector('.notion-frame'),
|
||||
icon = $container.querySelector(
|
||||
'.notion-record-icon img:not([src^="data:"])'
|
||||
|
@ -122,7 +122,6 @@ module.exports = (store, __exports) => {
|
||||
defaultWidth: 275,
|
||||
defaultHeight: 600,
|
||||
});
|
||||
electron.shell.openExternal(JSON.stringify(window_state));
|
||||
enhancer_menu = new electron.BrowserWindow({
|
||||
show: true,
|
||||
frame: !store().frameless,
|
||||
|
Loading…
Reference in New Issue
Block a user