Cleanup user-select

This commit is contained in:
djmaze 2021-12-28 14:48:20 +01:00
parent 997dc87305
commit 2a01d8c991
19 changed files with 8 additions and 23 deletions

View file

@ -12,7 +12,6 @@ class AbstractView {
this.viewModelTemplateID = templateID;
this.viewType = type;
this.viewModelDom = null;
this.viewNoUserSelect = false;
this.keyScope = {
scope: Scope.None,

View file

@ -47,10 +47,6 @@ const
vm.viewModelDom = vmDom;
ViewModelClass.__dom = vmDom;
if (vm.viewNoUserSelect) {
vmDom.classList.add('g-ui-user-select-none');
}
if (ViewType.Popup === position) {
vm.cancelCommand = vm.closeCommand = createCommand(() => hideScreenPopup(ViewModelClass));