Skip to content

Commit

Permalink
Update simulation.js
Browse files Browse the repository at this point in the history
  • Loading branch information
c-rxxp-y authored Nov 5, 2024
1 parent 64c0319 commit bce6ab9
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions js/simulation.js
Original file line number Diff line number Diff line change
Expand Up @@ -2157,17 +2157,6 @@ const simulation = {
});
document.getElementById("construct").innerHTML = outHTML
},
techZoom() {
if (tech.isSniperZoom) {
document.body.addEventListener("wheel", (e) => {
if (e.deltaY > 0) {
simulation.setZoom(simulation.zoomScale / 0.9)
} else {
simulation.setZoom(simulation.zoomScale * 0.9)
}
});
}
}
// copyToClipBoard(value) {
// // Create a fake textarea
// const textAreaEle = document.createElement('textarea');
Expand Down

0 comments on commit bce6ab9

Please sign in to comment.