Render world map overview as a screen-space starfield and rename it to 世界地图.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-08-07 11:02:23 +08:00
parent 8444d85005
commit fdab188cc1
11 changed files with 470 additions and 67 deletions

View file

@ -7183,6 +7183,40 @@ pre {
pointer-events: auto;
}
.topo-world-hud {
position: absolute;
z-index: 6;
top: 10px;
left: 12px;
max-width: min(520px, calc(100% - 24px));
padding: 4px 8px;
border-radius: 6px;
background: rgba(15, 23, 42, 0.72);
color: #cbd5e1;
font-size: 11px;
line-height: 1.35;
pointer-events: none;
backdrop-filter: blur(2px);
}
.topo-world-scatter {
position: absolute;
inset: 0;
z-index: 1;
width: 100%;
height: 100%;
pointer-events: none;
}
.topo-world-scatter-panel.react-flow__panel {
margin: 0 !important;
}
.topo-canvas__overlay--empty.is-interactive {
pointer-events: auto;
background: rgba(11, 18, 32, 0.35);
}
.topo-node__pixel {
display: block;
width: 4px;