Karte: Windrose auf kleinen Kartenausschnitten ausblenden

This commit is contained in:
db9979 committed 2026-11-26 20:37:34 +01:00
1 parent 669146ed80
commit b486afd01e
1 file changed
+1
+1
View File
@@ -205,6 +205,7 @@ export function HexMap(props: HexMapProps) {
lastPos = pos;
s.graticule.place(world, app.screen.width, app.screen.height);
s.compass.position.set(app.screen.width - 40, Math.min(178, app.screen.height - 60));
s.compass.visible = app.screen.height > 360;
}
const now = performance.now();
if (now - lastMove > 250) {