Save All is now working.

Size is now a relative value in Line.
This commit is contained in:
Creeper Lv
2026-01-01 23:02:12 +11:00
parent 2eb59564b4
commit c1e4c71985
12 changed files with 73 additions and 31 deletions

View File

@@ -82,7 +82,11 @@ namespace Progrart.Core.JSExecution
{
height = (float)(js_height.AsNumber());
}
RenderContext renderContext = new RenderContext((int)(width * Scale), (int)(width * Scale));
RenderContext renderContext = new RenderContext((int)(width * Scale), (int)(width * Scale))
{
LogicalW = width,
LogicalH = height
};
ImageRoot imageRoot = new ImageRoot();
var img = engine.Engine.Call("main");