feat(nc-gui): applyNonSelectable

This commit is contained in:
Wing-Kam Wong
2022-11-28 12:47:38 +08:00
parent d508b915f4
commit 632b7ebab6
3 changed files with 31 additions and 13 deletions

View File

@@ -37,3 +37,7 @@ export function applyLanguageDirection(dir: typeof rtl | typeof ltr) {
document.body.classList.add(dir)
document.body.style.direction = dir
}
export function applyNonSelectable() {
document.body.classList.add('non-selectable')
}