Skip to content

Commit

Permalink
fix touchend on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
reger-men committed Feb 10, 2019
1 parent 458d656 commit 1a1cb16
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion data/resources/colorwheel.theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ ColorWheel.extend('theme', function (colorWheel) {
d.color.v = parseInt(this.value) / 100;
colorWheel.dispatch.markersUpdated();
})
.on('touchend', function () {
.on('mouseup', function () {
colorWheel.dispatch.updateEnd();
})
.on('touchend', function () {
colorWheel.dispatch.updateEnd();
});

Expand Down

0 comments on commit 1a1cb16

Please sign in to comment.