diff --git a/src/render/systemView.js b/src/render/systemView.js index 68b7f62..7569296 100644 --- a/src/render/systemView.js +++ b/src/render/systemView.js @@ -39,7 +39,7 @@ export class SystemView { const ang = Math.atan2(there.y - here.y, there.x - here.x); const c = this.center(); // Keep gates on-screen on small canvases (review: fixed 290 clipped hit targets). - const r = Math.min(GATE_RADIUS, Math.min(c.x, c.y) - 40); + const r = Math.max(60, Math.min(GATE_RADIUS, Math.min(c.x, c.y) - 40)); return { x: c.x + Math.cos(ang) * r, y: c.y + Math.sin(ang) * r, ang }; }