diff --git a/lib/units/device/plugins/touch.js b/lib/units/device/plugins/touch.js index 5986d3d8..968f29fc 100644 --- a/lib/units/device/plugins/touch.js +++ b/lib/units/device/plugins/touch.js @@ -113,8 +113,8 @@ module.exports = syrup.serial() , 'bottom left': { x: function(point) { return Math.floor((1 - point.y) * socket.maxX) - }, - y: function(point) { + } + , y: function(point) { return Math.floor(point.x * socket.maxY) } }