diff --git a/app/images/reset-zoom-icon.svg b/app/images/reset-zoom-icon.svg deleted file mode 100644 index d38d6753..00000000 --- a/app/images/reset-zoom-icon.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/app/ui.js b/app/ui.js index f96c0625..657c3f7b 100644 --- a/app/ui.js +++ b/app/ui.js @@ -1120,22 +1120,6 @@ const UI = { // Do this last because it can only be used on rendered elements UI.rfb.focus(); - const vncCanvas = document.querySelector('.noVNC_container canvas'); - - function resetZoom() { - // Reset the transform properties - vncCanvas.style.transformOrigin = `0 0`; - vncCanvas.style.transform = `scale(1)`; - - // Reset zoom-related variables if they're used - UI.rfb.gestures.initialScale = 1; - UI.rfb.gestures.currentScale = 1; - } - - const resetButton = document.getElementById('resetZoomBtn'); - if (resetButton) { - resetButton.addEventListener('click', resetZoom); - } }, disconnectFinished(e) { diff --git a/vnc.html b/vnc.html index 05547403..23866edb 100644 --- a/vnc.html +++ b/vnc.html @@ -74,9 +74,6 @@ -