mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-17 00:44:23 +02:00
optimize sidebar resizing for performance
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user