notion-enhancer
Version:
an enhancer/customiser for the all-in-one productivity workspace notion.so
19 lines (16 loc) • 512 B
JavaScript
/**
* notion-enhancer: integrated titlebar
* (c) 2021 dragonwocky <thedragonring.bod@gmail.com> (https://dragonwocky.me/)
* (https://notion-enhancer.github.io/) under the MIT license
*/
;
module.exports = function (api, db, __exports, __eval) {
__eval(`
const notionRectFromFocusedWindow = getRectFromFocusedWindow;
getRectFromFocusedWindow = (windowState) => {
const rect = notionRectFromFocusedWindow(windowState);
rect.frame = false;
return rect;
};
`);
};