fix(grid): sharpen canvas rendering under ui zoom
This commit is contained in:
1 parent
afc8d8f3c1
commit
03f273bb4d
3 files changed
+89
-16
No files matched your search
@@ -252,6 +252,7 @@ async function applyUiScale(scale: number) {
|
||||
try {
|
||||
const { getCurrentWebview } = await import("@tauri-apps/api/webview");
|
||||
await getCurrentWebview().setZoom(scale);
|
||||
window.dispatchEvent(new CustomEvent("dbx:ui-scale-applied", { detail: { scale } }));
|
||||
} catch (error) {
|
||||
console.warn("[DBX] Failed to apply UI scale", { scale, error });
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user