mirror of
https://github.com/AkiChase/scrcpy-mask
synced 2025-02-23 23:42:16 +08:00
bug(KeyBoard): fix select problem
This commit is contained in:
parent
47010c22b9
commit
50698231b0
@ -35,7 +35,6 @@ function keyupHandler(event: KeyboardEvent) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function mousedownHandler(event: MouseEvent) {
|
function mousedownHandler(event: MouseEvent) {
|
||||||
event.preventDefault();
|
|
||||||
const key = `M${event.button}`;
|
const key = `M${event.button}`;
|
||||||
if (keyboardCodeList.value.length > 10) {
|
if (keyboardCodeList.value.length > 10) {
|
||||||
keyboardCodeList.value.shift();
|
keyboardCodeList.value.shift();
|
||||||
@ -119,8 +118,6 @@ function dragHandler(downEvent: MouseEvent) {
|
|||||||
background-color: var(--content-bg-color);
|
background-color: var(--content-bg-color);
|
||||||
width: 120px;
|
width: 120px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
user-select: none;
|
|
||||||
-webkit-user-select: none;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 8;
|
z-index: 8;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user