Rename class touchpad to touch
This commit is contained in:
parent
b3a4ca7449
commit
7fc46bf38c
3 changed files with 8 additions and 8 deletions
File diff suppressed because one or more lines are too long
|
|
@ -179,7 +179,7 @@ function handleStart(evt) {
|
||||||
}
|
}
|
||||||
var touches = evt.changedTouches;
|
var touches = evt.changedTouches;
|
||||||
for (var i = 0; i < touches.length; i += 1) {
|
for (var i = 0; i < touches.length; i += 1) {
|
||||||
if (ongoingTouches.length == 0 && !touches[i].target.classList.contains("touchpad")) {
|
if (ongoingTouches.length == 0 && !touches[i].target.classList.contains("touch")) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
evt.preventDefault();
|
evt.preventDefault();
|
||||||
|
|
|
||||||
|
|
@ -17,8 +17,8 @@
|
||||||
<p>Disconnected</p>
|
<p>Disconnected</p>
|
||||||
<button id="reloadbutton">↻</button>
|
<button id="reloadbutton">↻</button>
|
||||||
</div>
|
</div>
|
||||||
<div id="pad" class="scene touchpad key fullscreen hidden">
|
<div id="pad" class="scene touch key fullscreen hidden">
|
||||||
<p id="padlabel" class="touchpad">Touchpad</p>
|
<p id="padlabel" class="touch">Touchpad</p>
|
||||||
<button id="keysbutton">≡</button>
|
<button id="keysbutton">≡</button>
|
||||||
<button id="fullscreenbutton">⤢</button>
|
<button id="fullscreenbutton">⤢</button>
|
||||||
<button id="keyboardbutton">⌨</button>
|
<button id="keyboardbutton">⌨</button>
|
||||||
|
|
@ -30,8 +30,8 @@
|
||||||
<button id="sendbutton">➣</button>
|
<button id="sendbutton">➣</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="keys" class="scene touchpad key fullscreen hidden">
|
<div id="keys" class="scene touch key fullscreen hidden">
|
||||||
<div class="scene touchpad">
|
<div class="scene touch">
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
<button id="browserbackbutton">⭠</button>
|
<button id="browserbackbutton">⭠</button>
|
||||||
<button id="superbutton">🪟</button>
|
<button id="superbutton">🪟</button>
|
||||||
|
|
@ -48,7 +48,7 @@
|
||||||
<button id="volumeupbutton">🔊</button>
|
<button id="volumeupbutton">🔊</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="scene touchpad">
|
<div class="scene touch">
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
<button id="backspacebutton">⌫</button>
|
<button id="backspacebutton">⌫</button>
|
||||||
<button id="returnbutton">⮠</button>
|
<button id="returnbutton">⮠</button>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue