summaryrefslogtreecommitdiff
path: root/grapher/Models/Options/ApplyOptions.cs
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2020-09-29 10:08:13 -0700
committerJacob Palecki <[email protected]>2020-09-29 10:08:13 -0700
commit49675a0fa01a1d7f04a7a2e31ec1872125a0cf37 (patch)
treeac4a331892ff777de67deb8b8be8905bb017434e /grapher/Models/Options/ApplyOptions.cs
parentUse 0 for cap\offset when not visible (diff)
parentset invisible args to default values before write (diff)
downloadrawaccel-49675a0fa01a1d7f04a7a2e31ec1872125a0cf37.tar.xz
rawaccel-49675a0fa01a1d7f04a7a2e31ec1872125a0cf37.zip
merge + small fixes
Diffstat (limited to 'grapher/Models/Options/ApplyOptions.cs')
-rw-r--r--grapher/Models/Options/ApplyOptions.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/grapher/Models/Options/ApplyOptions.cs b/grapher/Models/Options/ApplyOptions.cs
index 51c80ea..c2ed498 100644
--- a/grapher/Models/Options/ApplyOptions.cs
+++ b/grapher/Models/Options/ApplyOptions.cs
@@ -89,14 +89,14 @@ namespace grapher.Models.Options
};
}
- public Vec2<AccelArgs> GetUpdatedArgs(ref /*readonly*/ Vec2<AccelArgs> last)
+ public Vec2<AccelArgs> GetArgs()
{
- var xArgs = OptionSetX.GenerateArgs(ref last.x);
+ var xArgs = OptionSetX.GenerateArgs();
return new Vec2<AccelArgs>
{
x = xArgs,
- y = ByComponentVectorXYLock.Checked ? xArgs : OptionSetY.GenerateArgs(ref last.y)
+ y = ByComponentVectorXYLock.Checked ? xArgs : OptionSetY.GenerateArgs()
};
}