release: bump version to 0.25.2

This commit is contained in:
rayd1o
2026-04-10 23:43:56 +08:00
parent e85a9fc614
commit 60ed88b609
9 changed files with 144 additions and 42 deletions

View File

@@ -13,6 +13,20 @@
}
}
</script>
<script>
(function applyInitialHudScale() {
var referenceWidth = 1920;
var referenceHeight = 1080;
var minScale = 0.7;
var maxScale = 1;
var widthScale = window.innerWidth / referenceWidth;
var heightScale = window.innerHeight / referenceHeight;
var scale = Math.min(widthScale, heightScale);
var clampedScale = Math.max(minScale, Math.min(maxScale, scale));
document.documentElement.style.setProperty("--hud-scale", clampedScale.toFixed(3));
})();
</script>
<link rel="stylesheet" href="css/base.css">
<link rel="stylesheet" href="css/hud.css">
<link rel="stylesheet" href="css/toolbar.css">
@@ -261,9 +275,9 @@
<div class="earth-settings-header">
<div>
<div class="earth-settings-kicker">设置</div>
<h2 id="settings-title" class="earth-settings-title">显示与视图</h2>
<h3 id="settings-title" class="earth-settings-title hud-panel-title">显示与视图</h3>
</div>
<button id="settings-close" class="earth-settings-close" type="button" aria-label="关闭设置">
<button id="settings-close" class="earth-settings-close hud-panel-close" type="button" aria-label="关闭设置">
<span class="material-symbols-rounded">close</span>
</button>
</div>