Skip to content

Commit 4d162ba

Browse files
author
Florian Maas
committed
higher zoom for package select
1 parent b3a0901 commit 4d162ba

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/src/components/GalaxyCanvas.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function ZoomDebug() {
2323
const zoom = useGalaxyStore((s) => s.currentZoom);
2424
if (!import.meta.env.DEV) return null;
2525
return (
26-
<div className="absolute top-2 left-2 text-white text-xs bg-black/50 px-2 py-1 rounded z-50">
26+
<div className="absolute top-2 left-2 text-white text-xs bg-black/50 px-2 py-1 rounded z-999">
2727
Zoom: {zoom.toFixed(2)}
2828
</div>
2929
);

frontend/src/utils/cameraConstants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
export const CAMERA_ZOOM_LEVELS = {
55
OVERVIEW: 1.6, // Full galaxy view (default initial view)
66
CLUSTER: 8, // Viewing a cluster of related packages
7-
PACKAGE: 24, // Focusing on a single package
7+
PACKAGE: 50, // Focusing on a single package
88
DETAIL: 12, // Very close inspection (labels become visible)
99
MAX: 160, // Maximum zoom (from OrbitControls config)
1010
MIN: 0.5, // Minimum zoom (from OrbitControls config)

0 commit comments

Comments
 (0)