mirror of
https://github.com/openstf/stf
synced 2025-10-06 03:50:04 +02:00
Show touch contacts again.
This commit is contained in:
parent
bd7035c670
commit
11494b509f
1 changed files with 6 additions and 1 deletions
|
@ -336,9 +336,14 @@ module.exports = function DeviceScreenDirective($document, ScalingService,
|
||||||
}
|
}
|
||||||
|
|
||||||
function createSlots() {
|
function createSlots() {
|
||||||
|
// The reverse order is important because slots and fingers are in
|
||||||
|
// opposite sort order. Anyway don't change anything here unless
|
||||||
|
// you understand what it does and why.
|
||||||
for (var i = 9; i >= 0; --i) {
|
for (var i = 9; i >= 0; --i) {
|
||||||
|
var finger = createFinger(i)
|
||||||
|
element.append(finger)
|
||||||
slots.push(i)
|
slots.push(i)
|
||||||
fingers.unshift(createFinger(i))
|
fingers.unshift(finger)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue