diff options
| author | Jacob Palecki <[email protected]> | 2020-09-29 10:08:13 -0700 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2020-09-29 10:08:13 -0700 |
| commit | 49675a0fa01a1d7f04a7a2e31ec1872125a0cf37 (patch) | |
| tree | ac4a331892ff777de67deb8b8be8905bb017434e /grapher/Models/Options/ApplyOptions.cs | |
| parent | Use 0 for cap\offset when not visible (diff) | |
| parent | set invisible args to default values before write (diff) | |
| download | rawaccel-49675a0fa01a1d7f04a7a2e31ec1872125a0cf37.tar.xz rawaccel-49675a0fa01a1d7f04a7a2e31ec1872125a0cf37.zip | |
merge + small fixes
Diffstat (limited to 'grapher/Models/Options/ApplyOptions.cs')
| -rw-r--r-- | grapher/Models/Options/ApplyOptions.cs | 6 |
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() }; } |