diff options
| author | Jacob Palecki <[email protected]> | 2020-09-01 21:45:42 -0700 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2020-09-01 21:45:42 -0700 |
| commit | 95cc3ed0a0bf66f5535b873f245bc1c35a145478 (patch) | |
| tree | de1a9f20dee0239cf7a2204945249b497deb8f9e /grapher/Layouts/LayoutBase.cs | |
| parent | Add X Y labels for by component (diff) | |
| download | rawaccel-95cc3ed0a0bf66f5535b873f245bc1c35a145478.tar.xz rawaccel-95cc3ed0a0bf66f5535b873f245bc1c35a145478.zip | |
intermittent commit - large commit halfway done
Diffstat (limited to 'grapher/Layouts/LayoutBase.cs')
| -rw-r--r-- | grapher/Layouts/LayoutBase.cs | 15 |
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; } } |