From 06564af203e42da2fb217d93a3b1b05c25037858 Mon Sep 17 00:00:00 2001 From: Kibi Kelburton Date: Fri, 19 Jun 2026 14:20:15 +0200 Subject: [PATCH] QoL v0ck and tagging --- public/s/css/f0ckm.css | 1 - public/s/js/v0ck.js | 16 +++++----------- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/public/s/css/f0ckm.css b/public/s/css/f0ckm.css index 1bcd45f..688d1bd 100644 --- a/public/s/css/f0ckm.css +++ b/public/s/css/f0ckm.css @@ -5908,7 +5908,6 @@ input { .tag-ac-input { font-size: inherit; - padding: 0 4px; min-width: 80px; background-color: var(--badge-tag); color: #fff; diff --git a/public/s/js/v0ck.js b/public/s/js/v0ck.js index b9c9a0e..853e342 100644 --- a/public/s/js/v0ck.js +++ b/public/s/js/v0ck.js @@ -441,7 +441,7 @@ class v0ck { } }, { passive: false }); - // Desktop mouse volume gesture support (clicking and dragging vertically on the right half of the player) + // Desktop mouse volume gesture support (clicking and dragging vertically on the player) let activeMouseGesture = false; player.addEventListener('mousedown', e => { @@ -451,17 +451,11 @@ class v0ck { const isControls = !!path.filter(f => f.classList?.contains('v0ck_player_controls')).length; if (isControls) return; - const rect = player.getBoundingClientRect(); - const x = e.clientX - rect.left; - isRightSide = x > rect.width / 2; gestureType = 'none'; - - if (isRightSide) { - startX = e.clientX; - startY = e.clientY; - startVol = video.volume; - activeMouseGesture = true; - } + startX = e.clientX; + startY = e.clientY; + startVol = video.volume; + activeMouseGesture = true; }); window.addEventListener('mousemove', e => {