File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14053,9 +14053,11 @@ function setupDrawerInteractions() {
1405314053 }
1405414054
1405514055 if (isDragging) {
14056+ const x = e.touches[0].clientX;
1405614057 const y = e.touches[0].clientY;
1405714058 const isDrawerOpen = appDrawer.classList.contains('open');
14058- const deltaY = startY - y; // Positive = Up, Negative = Down
14059+ const deltaX = x - startX;
14060+ const deltaY = startY - y;
1405914061
1406014062 // Check for a clear DIAGONAL-UP movement
1406114063 if (deltaY < -40 && Math.abs(deltaX) > 40) {
@@ -14102,7 +14104,7 @@ function setupDrawerInteractions() {
1410214104 el.style.pointerEvents = 'auto';
1410314105 });
1410414106
14105- const el = document.elementFromPoint(x / zoom , y / zoom );
14107+ const el = document.elementFromPoint(x, y);
1410614108
1410714109 // Find the correct iframe (direct hit, or inside the specific embed wrapper we hit)
1410814110 let targetIframe = null;
You can’t perform that action at this time.
0 commit comments