Update PCT Trace
This commit is contained in:
64543
geo/pct.gpx
64543
geo/pct.gpx
File diff suppressed because it is too large
Load Diff
@@ -310,14 +310,11 @@
|
||||
});
|
||||
|
||||
function divMove(e){
|
||||
//var oImage = self.album[self.currentImageIndex];
|
||||
let iZoom = self.$image.css('--scale');
|
||||
|
||||
let fTransX = e.clientX - self.gMouseDownOffsetX;
|
||||
let fTransY = e.clientY - self.gMouseDownOffsetY;
|
||||
|
||||
var fTransMaxX = (iZoom - 1) * self.$image.width() / 2;
|
||||
var fTransMaxY = (iZoom - 1) * self.$image.height() / 2;
|
||||
let fTransMaxX = (iZoom - 1) * self.$image.width() / 2;
|
||||
let fTransMaxY = (iZoom - 1) * self.$image.height() / 2;
|
||||
|
||||
fTransX = Math.max(Math.min(fTransX, fTransMaxX), fTransMaxX * -1);
|
||||
fTransY = Math.max(Math.min(fTransY, fTransMaxY), fTransMaxY * -1);
|
||||
|
||||
Reference in New Issue
Block a user