From a8978e232fd53290253e1d9b36fe961404e7bd9a Mon Sep 17 00:00:00 2001 From: Kibi Kelburton Date: Thu, 28 May 2026 21:25:37 +0200 Subject: [PATCH] sexy grabbing finally!!! --- public/s/js/f0ckm.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/public/s/js/f0ckm.js b/public/s/js/f0ckm.js index ce6b477..c612b65 100644 --- a/public/s/js/f0ckm.js +++ b/public/s/js/f0ckm.js @@ -8506,7 +8506,9 @@ document.addEventListener('DOMContentLoaded', () => { startY = e.clientY - posY; modalImg.style.transition = 'none'; // Disable transition during drag for snappiness - // Let hardened CSS handle multiple cursor fallbacks via class: + // Apply grabbing cursor directly on the image (overrides the CSS grab !important rules) + // and also set body class for full-page cursor coverage while dragging: + modalImg.style.setProperty('cursor', 'grabbing', 'important'); document.body.classList.add('modal-is-grabbing'); }); @@ -8522,7 +8524,8 @@ document.addEventListener('DOMContentLoaded', () => { isDragging = false; modalImg.style.transition = 'transform 0.05s ease-out'; - // Reset cursor class + // Restore grab cursor and remove body class + modalImg.style.setProperty('cursor', 'grab', 'important'); document.body.classList.remove('modal-is-grabbing'); });