summaryrefslogtreecommitdiff
path: root/grapher/Layouts
diff options
context:
space:
mode:
authorJacobPalecki <[email protected]>2021-01-20 20:13:33 -0800
committerGitHub <[email protected]>2021-01-20 20:13:33 -0800
commit5b6479013c8f35df933dd57c680063f4db1e4028 (patch)
tree60dd7c67a0f163457da2519b42553382a39a591b /grapher/Layouts
parentshow custom dialog on bad input (#63) (diff)
parentGuard against bad anisotropy args (diff)
downloadrawaccel-5b6479013c8f35df933dd57c680063f4db1e4028.tar.xz
rawaccel-5b6479013c8f35df933dd57c680063f4db1e4028.zip
Merge pull request #65 from JacobPalecki/Directional
Directionality Features + Graph Fidelity
Diffstat (limited to 'grapher/Layouts')
-rw-r--r--grapher/Layouts/LayoutBase.cs5
-rw-r--r--grapher/Layouts/PowerLayout.cs2
2 files changed, 2 insertions, 5 deletions
diff --git a/grapher/Layouts/LayoutBase.cs b/grapher/Layouts/LayoutBase.cs
index 7ed08ef..83af292 100644
--- a/grapher/Layouts/LayoutBase.cs
+++ b/grapher/Layouts/LayoutBase.cs
@@ -64,7 +64,6 @@ namespace grapher.Layouts
IOption limitOption,
IOption expOption,
IOption midpointOption,
- Button button,
int top)
{
@@ -106,8 +105,7 @@ namespace grapher.Layouts
IOption offsetOption,
IOption limitOption,
IOption expOption,
- IOption midpointOption,
- Button button)
+ IOption midpointOption)
{
Layout(accelOption,
scaleOption,
@@ -117,7 +115,6 @@ namespace grapher.Layouts
limitOption,
expOption,
midpointOption,
- button,
accelOption.Top);
}
}
diff --git a/grapher/Layouts/PowerLayout.cs b/grapher/Layouts/PowerLayout.cs
index 1911813..da7d5bb 100644
--- a/grapher/Layouts/PowerLayout.cs
+++ b/grapher/Layouts/PowerLayout.cs
@@ -15,7 +15,7 @@ namespace grapher.Layouts
ScaleLayout = new OptionLayout(true, Scale);
CapLayout = new OptionLayout(true, Cap);
WeightLayout = new OptionLayout(true, Weight);
- OffsetLayout = new OptionLayout(true, Offset);
+ OffsetLayout = new OptionLayout(false, string.Empty);
LimitLayout = new OptionLayout(false, string.Empty);
ExponentLayout = new OptionLayout(true, Exponent);
MidpointLayout = new OptionLayout(false, string.Empty);