fix: Restore Collapsed TTS Button Interaction

[skip ci]
This commit is contained in:
Rajarshee Chatterjee
2026-07-26 15:08:02 +05:30
parent 6548e9a6f8
commit cbe7d70e2d
+1
View File
@@ -423,6 +423,7 @@ const TTSController = () => {
return;
}
stopEvent(e);
controllerElement ??= document.getElementById('TTS-Controller');
const touch = e.changedTouches[0];
const bounds = controllerElement.getBoundingClientRect();
dragOffsetX = touch.clientX - bounds.left;