mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-23 10:42:00 +00:00
The pop-out position is a bottom-right corner inset; the old clamp only floored it and capped each inset by a flat constant, so dragging left/up (or restoring a position saved on a larger/other monitor) could push the box's width/height past the left/top edges and strand it off-screen — unrecoverable since the bad spot persisted to localStorage. Now the clamp bounds the WHOLE box (accounting for its measured width/height plus an edge margin) on all four sides. Applied on drag (measured size), on load (clamped in readPosition), and via a mount + window-resize reclamp so a shrunk window or stale persisted value always pulls the box back into view. |
||
|---|---|---|
| .. | ||
| bootstrap-installer | ||
| desktop | ||
| shared | ||