Sidebar: Fix resizing (#114597)

This commit is contained in:
Marc M.
2025-12-02 11:51:26 +01:00
committed by GitHub
parent c0f8e5688b
commit e8f1eb1ee8
@@ -37,6 +37,12 @@ export function SidebarResizer() {
return;
}
// mouse is moving with no buttons pressed
if (!e.buttons) {
dragStart.current = null;
return;
}
const diff = e.clientX - dragStart.current;
dragStart.current = e.clientX;