this.maxx) { x = maxx; } super.$lzc$set_x(x); ]]> this.maxy) { y = maxy; } super.$lzc$set_y(y); ]]> // activate dragging this.setAttribute('pressed', true); this.setAttribute('rotation', g.rotation); this.setAttribute('xscale', g.scale); this.setAttribute('yscale', g.scale); var axis = 'x'; if (s.direction === 'up' || s.direction === 'down') { axis = 'y'; } this.animate(axis, s.velocity, 1000, true); //Debug.info('onswipe', axis, s);