File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -73,15 +73,13 @@ function uiInteractZoomArea (evtObj) {
73
73
}
74
74
75
75
function uiInteractZoomIn ( evtObj ) {
76
- console . log ( evtObj )
77
76
evtObj . preventDefault ( )
78
77
const relativeStart = mouseDown . relativeStartPos
79
78
const relativeEnd = calculateActualMousePos ( evtObj )
80
79
81
80
relativeEnd [ 0 ] = Math . max ( window . MetricQWebView . graticule . dimensions . x ,
82
81
Math . min ( Math . abs ( relativeEnd [ 0 ] ) , window . MetricQWebView . graticule . dimensions . width ) )
83
82
84
- console . log ( relativeStart [ 0 ] , relativeEnd [ 0 ] )
85
83
if ( Math . abs ( relativeStart [ 0 ] - relativeEnd [ 0 ] ) > 1 ) {
86
84
let posEnd = window . MetricQWebView . graticule . getTimeValueAtPoint ( relativeStart )
87
85
let posStart = window . MetricQWebView . graticule . getTimeValueAtPoint ( relativeEnd )
You can’t perform that action at this time.
0 commit comments