Fix save work area.

Fix export graph with styles.
Fix css packer.
This commit is contained in:
Oleg Sh
2026-01-03 19:03:00 +01:00
parent e276350318
commit a139fbe6ec
10 changed files with 54 additions and 47 deletions

View File

@@ -95,4 +95,9 @@ function getCanvasLogicWidth(canvas) {
function getCanvasLogicHeight(canvas) {
const dpr = window.devicePixelRatio || 1;
return canvas.height / dpr;
}
function getLogicToCanvasSize(size) {
const dpr = window.devicePixelRatio || 1;
return size * dpr;
}