diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-02-21 14:55:24 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-02-21 14:55:24 +0100 |
| commit | 30c73e04f6d60955f68ef0e93176a6ebc24ef40f (patch) | |
| tree | 1430e2f60cbca76a4f3af45ca2b02fdffe1009a5 /bundle.js | |
| parent | c31108b27156d2d1f2c50b57179828da9725f615 (diff) | |
mobile check
Diffstat (limited to 'bundle.js')
| -rw-r--r-- | bundle.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24446,7 +24446,7 @@ _mouse2.default.register({ _draw2.default.triangle(x, y, 400); }, move: function move(x, y, dx, dy) { - var count = Math.abs(dx + dy) / 40; + var count = Math.abs(dx + dy) / (_util.isMobile ? 5 : 40); if (count < 1) return; count = (0, _util.clamp)(count, 1, 10); if (Math.abs(dx) + Math.abs(dy) > 100) { |
