summaryrefslogtreecommitdiff
path: root/grapher/Layouts
diff options
context:
space:
mode:
authora1xd <[email protected]>2020-10-08 23:12:08 -0400
committerGitHub <[email protected]>2020-10-08 23:12:08 -0400
commitf4c04b4eb03fdbf1f3402dfb26e891ce8d968c9f (patch)
tree2da2e0e956c8b92c24260ec9ed4fa3f0681c0a1a /grapher/Layouts
parentFixed anisotropy not loading correctly on save (diff)
parentadd magic number to constants (diff)
downloadrawaccel-1.1.0.tar.xz
rawaccel-1.1.0.zip
Merge pull request #33 from a1xd/1.1v1.1.0
1.1
Diffstat (limited to 'grapher/Layouts')
-rw-r--r--grapher/Layouts/DefaultLayout.cs1
-rw-r--r--grapher/Layouts/LayoutBase.cs4
-rw-r--r--grapher/Layouts/OffLayout.cs1
3 files changed, 0 insertions, 6 deletions
diff --git a/grapher/Layouts/DefaultLayout.cs b/grapher/Layouts/DefaultLayout.cs
index c8cce6d..c2f7fd7 100644
--- a/grapher/Layouts/DefaultLayout.cs
+++ b/grapher/Layouts/DefaultLayout.cs
@@ -9,7 +9,6 @@ namespace grapher.Layouts
{
Name = "Default";
Index = (int)AccelMode.noaccel;
- ButtonEnabled = false;
LogarithmicCharts = false;
AccelLayout = new OptionLayout(true, Acceleration);
diff --git a/grapher/Layouts/LayoutBase.cs b/grapher/Layouts/LayoutBase.cs
index c380397..7ed08ef 100644
--- a/grapher/Layouts/LayoutBase.cs
+++ b/grapher/Layouts/LayoutBase.cs
@@ -26,7 +26,6 @@ namespace grapher.Layouts
ExponentLayout = new OptionLayout(false, string.Empty);
MidpointLayout = new OptionLayout(false, string.Empty);
- ButtonEnabled = true;
LogarithmicCharts = false;
}
@@ -40,8 +39,6 @@ namespace grapher.Layouts
public bool LogarithmicCharts { get; protected set; }
- protected bool ButtonEnabled { get; set; }
-
protected OptionLayout AccelLayout { get; set; }
protected OptionLayout ScaleLayout { get; set; }
@@ -70,7 +67,6 @@ namespace grapher.Layouts
Button button,
int top)
{
- button.Enabled = ButtonEnabled;
IOption previous = null;
diff --git a/grapher/Layouts/OffLayout.cs b/grapher/Layouts/OffLayout.cs
index 664e364..0b54cbb 100644
--- a/grapher/Layouts/OffLayout.cs
+++ b/grapher/Layouts/OffLayout.cs
@@ -9,7 +9,6 @@ namespace grapher.Layouts
{
Name = "Off";
Index = (int)AccelMode.noaccel;
- ButtonEnabled = true;
LogarithmicCharts = false;
AccelLayout = new OptionLayout(false, string.Empty);