mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 04:53:19 +02:00
New multitouch-compatible touch system.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user