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;
}

View File

@@ -36,8 +36,8 @@
i.fa.fa-times
.as-row.fill-height
div(ng-controller='DeviceScreenCtrl', ng-file-drop='installFile($files)', ng-file-drag-over-class='dragover').fill-height
device-screen(style='width: 100%; height: 100%; background: gray')
div(ng-controller='DeviceScreenCtrl', ng-if='device', ng-file-drop='installFile($files)', ng-file-drag-over-class='dragover').fill-height
device-screen(device='device', control='control')
.stf-vnc-bottom.as-row
.controls