Prevent modal content from being selected

This commit is contained in:
guaneec 2022-10-15 22:10:39 +08:00 committed by AUTOMATIC1111
parent b6e3b96dab
commit 606519813d

View file

@ -309,6 +309,8 @@ input[type="range"]{
height: 100%; height: 100%;
overflow: auto; overflow: auto;
background-color: rgba(20, 20, 20, 0.95); background-color: rgba(20, 20, 20, 0.95);
user-select: none;
-webkit-user-select: none;
} }
.modalControls { .modalControls {
@ -513,4 +515,4 @@ img2maskimg, #img2maskimg > .h-60, #img2maskimg > .h-60 > div, #img2maskimg > .h
height: 480px !important; height: 480px !important;
max-height: 480px !important; max-height: 480px !important;
min-height: 480px !important; min-height: 480px !important;
} }