linear gradient is now working.

This commit is contained in:
Creeper Lv
2026-01-24 01:14:58 +11:00
parent 14de38a329
commit 48e7e54db3
18 changed files with 58 additions and 58 deletions

View File

@@ -47,11 +47,10 @@ namespace Progrart.Core.JSExecution
obj.Set("End", point);
}
{
obj.Set("Colors", new JsArray(engine, [
color(engine, 1, 1, 1, 1) ,
color(engine, 1, 1, 1, 1)
]
));
obj.Set("ColorStart", color(engine, 1, 1, 1, 1));
}
{
obj.Set("ColorEnd", color(engine, 1, 1, 1, 1));
}
{
obj.Set("Positions", new JsArray(engine, new[] { new JsNumber(0), new JsNumber(1) }));