mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-12-14 16:16:21 +00:00
Update terminal-panel.tsx
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user