feat: correct viewport scale calculation with correct dimension and text scaling

This commit is contained in:
Hakan Seven committed 2026-05-19 00:26:08 +03:00
1 parent a0aa0f3c51
commit 66243e53ca
6 files changed
+326 -71

No files matched your search

+5 -1
View File
@@ -2493,7 +2493,11 @@ impl H7CAD {
vp.center.clone(),
vp.width,
vp.height,
vp.custom_scale,
crate::scene::vp_effective_scale(
vp.custom_scale,
vp.view_height,
vp.height,
),
vp.status.is_on,
vp.status.locked,
))