Loading openflexure_microscope/api/static/main_v1.js +2 −1 Original line number Diff line number Diff line Loading @@ -116,8 +116,9 @@ function clickHotspotImage(event) { window.addEventListener('wheel', function(e) { multiplier = 1/100; z_delta = e.deltaY * multiplier * focusVelocity; if (document.getElementById("scrollFocusCheck").checked == true) { if ((document.getElementById("scrollFocusCheck").checked == true) && (e.target.parentNode.classList["value"] == "column middle")) { console.log(z_delta); console.log(e.target.parentNode.classList["value"]); // Make a position request safeRequest("POST", baseURI+"/position", { "absolute": false, "z": z_delta}, keyMoveCallback) } Loading openflexure_microscope/api/static/style_v1.css +1 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,7 @@ img { .left, .right { background-color: #f4f4f4; overflow-y: scroll; } .left{ Loading Loading
openflexure_microscope/api/static/main_v1.js +2 −1 Original line number Diff line number Diff line Loading @@ -116,8 +116,9 @@ function clickHotspotImage(event) { window.addEventListener('wheel', function(e) { multiplier = 1/100; z_delta = e.deltaY * multiplier * focusVelocity; if (document.getElementById("scrollFocusCheck").checked == true) { if ((document.getElementById("scrollFocusCheck").checked == true) && (e.target.parentNode.classList["value"] == "column middle")) { console.log(z_delta); console.log(e.target.parentNode.classList["value"]); // Make a position request safeRequest("POST", baseURI+"/position", { "absolute": false, "z": z_delta}, keyMoveCallback) } Loading
openflexure_microscope/api/static/style_v1.css +1 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,7 @@ img { .left, .right { background-color: #f4f4f4; overflow-y: scroll; } .left{ Loading