Update terminal-panel.tsx

This commit is contained in:
MacRimi
2025-11-24 13:37:17 +01:00
parent fd60292b5d
commit b50d388f9e

View File

@@ -192,7 +192,7 @@ export const TerminalPanel: React.FC<TerminalPanelProps> = ({ websocketUrl, onCl
const handleMove = (moveEvent: MouseEvent) => {
const deltaY = moveEvent.clientY - startY
const newHeight = Math.max(200, Math.min(1200, startHeight - deltaY))
const newHeight = Math.max(200, Math.min(1200, startHeight + deltaY))
console.log("[v0] Moving", { clientY: moveEvent.clientY, deltaY, newHeight })
setTerminalHeight(newHeight)