mirror of
https://github.com/db9979/tidefront.git
synced 2026-12-06 12:54:09 +01:00
Karte: Windrose auf kleinen Kartenausschnitten ausblenden
This commit is contained in:
1 parent
669146ed80
commit
b486afd01e
1 file changed
+1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user