修正缩放滑杆百分比映射
Project CI / Repository checks (pull_request) Failing after 2m35s
Project CI / Frontend tests (pull_request) Failing after 2m9s
Project CI / Native shell tests (pull_request) Failing after 4m57s
Project CI / Backend tests (pull_request) Successful in 6m33s

使用显示百分比同步滑块位置
This commit is contained in:
2026-09-05 14:42:37 +08:00
parent 9d53c44241
commit 98c5768ebf
@@ -476,7 +476,9 @@ export function PreviewWorkspace({
min={25}
max={200}
step={5}
value={Math.round(viewport.scale * 100)}
value={Math.round(
Number.parseInt(actions.displayPercent, 10),
)}
aria-label="画布缩放"
className="h-1 w-28 accent-orange-500"
onChange={(event) =>