Skip to content

Commit

Permalink
Merge pull request #81 from levskaya/master
Browse files Browse the repository at this point in the history
Fix Saturation.vue touch-event handling (#33 )
  • Loading branch information
linx4200 authored Jan 31, 2018
2 parents 5bb99f4 + d51429d commit c80c951
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/common/Saturation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
<div class="vc-saturation"
:style="{background: bgColor}"
ref="container"
@mousedown="handleMouseDown">
@mousedown="handleMouseDown"
@touchmove="handleChange"
@touchstart="handleChange">
<div class="vc-saturation--white"></div>
<div class="vc-saturation--black"></div>
<div class="vc-saturation-pointer" :style="{top: pointerTop, left: pointerLeft}">
Expand Down

0 comments on commit c80c951

Please sign in to comment.