mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
Fix touch interaction on remote control menu.
This commit is contained in:
parent
1344dd9c99
commit
eb7fe38a00
@ -1 +1 @@
|
||||
2019.06.21.1714
|
||||
2019.06.21.1840
|
||||
|
||||
@ -70,6 +70,7 @@ button[disabled] {
|
||||
border-radius: 0 3px 3px 0;
|
||||
pointer-events: all;
|
||||
cursor: pointer;
|
||||
z-index: 3;
|
||||
transition: .5s ease left;
|
||||
}
|
||||
|
||||
@ -92,6 +93,7 @@ button[disabled] {
|
||||
overflow-y: auto;
|
||||
text-align: center;
|
||||
opacity: 0;
|
||||
z-index: 3;
|
||||
transition: .5s ease all;
|
||||
}
|
||||
|
||||
|
||||
@ -56,8 +56,6 @@ export function ApplyInputHandlers(sockets) {
|
||||
}
|
||||
});
|
||||
MenuButton.addEventListener("touchmove", (ev) => {
|
||||
ev.preventDefault();
|
||||
isMenuButtonDragging = true;
|
||||
MenuButton.style.top = `${ev.touches[0].clientY}px`;
|
||||
});
|
||||
ChangeScreenButton.addEventListener("click", (ev) => {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -64,8 +64,6 @@ export function ApplyInputHandlers(sockets: RCBrowserSockets) {
|
||||
});
|
||||
|
||||
MenuButton.addEventListener("touchmove", (ev) => {
|
||||
ev.preventDefault();
|
||||
isMenuButtonDragging = true;
|
||||
MenuButton.style.top = `${ev.touches[0].clientY}px`;
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user