diff --git a/Quik/CommandMachine/CommandEngine.cs b/Quik/CommandMachine/CommandEngine.cs index a414dfe..2142666 100644 --- a/Quik/CommandMachine/CommandEngine.cs +++ b/Quik/CommandMachine/CommandEngine.cs @@ -20,7 +20,7 @@ namespace Quik.CommandMachine public QMat4 ActiveTransforms { get; } - public StyleStack Style { get; } = new StyleStack(new Quik.Style()); + public StyleStack Style { get; } = new StyleStack(new Style()); protected CommandEngine() { @@ -99,6 +99,16 @@ namespace Quik.CommandMachine case Command.PopZ: _zIndex = _zStack.TryPop(out int zindex) ? zindex : 0; break; + case Command.PushStyle: + Style.Push(iterator.Dequeue().As