Skip to content

Commit

Permalink
Fix #3 the issue that color HUD prevents text selection
Browse files Browse the repository at this point in the history
  • Loading branch information
tshino committed May 24, 2017
1 parent e3e975a commit 8ef1c78
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions compare.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,9 @@ $( function() {
updateColorPicker(e.index, x, y, fixed);
}
});
$('#view').on('mousedown', 'div.hudContainer', function(e) {
e.stopPropagation();
});
$('#view').on('mousemove', 'div.imageBox .image', function(e) {
if (colorPickerInfo && !colorPickerInfo.fixed) {
var selector = '#view > div.imageBox';
Expand Down

0 comments on commit 8ef1c78

Please sign in to comment.