summaryrefslogtreecommitdiff
path: root/grapher/Layouts
diff options
context:
space:
mode:
Diffstat (limited to 'grapher/Layouts')
-rw-r--r--grapher/Layouts/LayoutBase.cs15
1 files changed, 1 insertions, 14 deletions
diff --git a/grapher/Layouts/LayoutBase.cs b/grapher/Layouts/LayoutBase.cs
index eed1716..0ad855a 100644
--- a/grapher/Layouts/LayoutBase.cs
+++ b/grapher/Layouts/LayoutBase.cs
@@ -40,7 +40,7 @@ namespace grapher.Layouts
internal bool ButtonEnabled { get; set; }
- public void Layout(Option[] options, OptionXY[] optionsXY, Button button)
+ public void Layout(Option[] options, Button button)
{
// Relies on AccelOptions to keep lengths correct.
for (int i = 0; i < options.Length; i++)
@@ -55,19 +55,6 @@ namespace grapher.Layouts
}
}
- // Relies on AccelOptions to keep lengths correct.
- for (int i = 0; i< optionsXY.Length; i++)
- {
- if (ShowOptionsXY[i])
- {
- optionsXY[i].Show();
- }
- else
- {
- optionsXY[i].Hide();
- }
- }
-
button.Enabled = ButtonEnabled;
}
}