Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

Commit 5dc7c80

Browse files
committed
⚡ Fix --nocursor flag and improve nocursor feat
1 parent 9d573b2 commit 5dc7c80

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/_renderer.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,13 @@ window._loadTheme = theme => {
106106
107107
body {
108108
font-family: var(--font_main), sans-serif;
109-
cursor: ${(window.nocursorOverride || window.settings.nocursor) ? "none" : "default"} !important;
109+
cursor: ${(window.settings.nocursorOverride || window.settings.nocursor) ? "none" : "default"} !important;
110110
}
111111
112+
* {
113+
${(window.settings.nocursorOverride || window.settings.nocursor) ? "cursor: none !important;" : ""}
114+
}
115+
112116
${window._purifyCSS(theme.injectCSS || "")}
113117
</style>`;
114118

0 commit comments

Comments
 (0)