Fix save work area.

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

No files matched your search

+5
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;
}