New multitouch-compatible touch system.

This commit is contained in:
Simo Kinnunen
2014-09-12 19:22:16 +09:00
parent 38d20eba9a
commit 6c09a53d55
15 changed files with 861 additions and 280 deletions

View File

@@ -11,6 +11,9 @@
}
device-screen {
width: 100%;
height: 100%;
background: gray;
position: relative;
display: block;
overflow: hidden;
@@ -24,6 +27,11 @@ device-screen {
user-select: none;
}
device-screen .screen-touch {
width: 100%;
height: 100%;
}
device-screen canvas {
position: absolute;
top: 50%;
@@ -49,7 +57,7 @@ device-screen .finger {
display: none;
}
device-screen.fingering .finger {
device-screen .finger.active {
display: block;
}