optimize sidebar resizing for performance

This commit is contained in:
jeffvli
2025-11-14 18:36:46 -08:00
parent 1ab9012446
commit f48c26915f
3 changed files with 64 additions and 35 deletions
@@ -9,7 +9,7 @@ import { useSidebarStore } from '/@/renderer/store';
interface LeftSidebarProps {
isResizing: boolean;
startResizing: (direction: 'left' | 'right') => void;
startResizing: (direction: 'left' | 'right', mouseEvent?: MouseEvent) => void;
}
export const LeftSidebar = ({ isResizing, startResizing }: LeftSidebarProps) => {