1
0
Fork 0
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:
Simo Kinnunen 2014-09-12 19:42:23 +09:00
parent bd7035c670
commit 11494b509f

View file

@ -336,9 +336,14 @@ module.exports = function DeviceScreenDirective($document, ScalingService,
}
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) {
var finger = createFinger(i)
element.append(finger)
slots.push(i)
fingers.unshift(createFinger(i))
fingers.unshift(finger)
}
}