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

@@ -77,7 +77,7 @@ namespace Progrart.Core.Graphics
new SKPaint()
{
ColorF = Color,
StrokeWidth = Size,
StrokeWidth = context.TranslateSize(Size),
Shader = shader
}
);

View File

@@ -6,7 +6,7 @@ using System.Diagnostics;
namespace Progrart.Core.Graphics
{
public class Rectangle : BaseElement
public class Rectangle : BaseElement
{
float StrokeWidth;
@@ -78,7 +78,7 @@ namespace Progrart.Core.Graphics
new SKPaint()
{
ColorF = Color,
StrokeWidth = StrokeWidth,
StrokeWidth = context.TranslateSize(StrokeWidth),
Shader = shader
}
);