use default pointer on result image

This commit is contained in:
2018-08-18 12:52:32 +02:00
parent 2a68fd72da
commit 15a72f09d7

View File

@@ -231,7 +231,7 @@ Vue.component('result-view', {
return Math.floor($('#result').width()); return Math.floor($('#result').width());
}, },
update_cursor: function(event){ update_cursor: function(event){
$('#result-image').css('cursor', this.isInPlot(event) ? 'zoom-in' : 'pointer'); $('#result-image').css('cursor', this.isInPlot(event) ? 'zoom-in' : 'default');
}, },
isInPlot: function(event){ isInPlot: function(event){
const rect = $('#result-image').offset(); const rect = $('#result-image').offset();