diff options
| author | a1xd <[email protected]> | 2020-10-08 23:12:08 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-10-08 23:12:08 -0400 |
| commit | f4c04b4eb03fdbf1f3402dfb26e891ce8d968c9f (patch) | |
| tree | 2da2e0e956c8b92c24260ec9ed4fa3f0681c0a1a /grapher/Models/Charts/ChartState/ChartState.cs | |
| parent | Fixed anisotropy not loading correctly on save (diff) | |
| parent | add magic number to constants (diff) | |
| download | rawaccel-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/Models/Charts/ChartState/ChartState.cs')
| -rw-r--r-- | grapher/Models/Charts/ChartState/ChartState.cs | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/grapher/Models/Charts/ChartState/ChartState.cs b/grapher/Models/Charts/ChartState/ChartState.cs index 1898e12..270e212 100644 --- a/grapher/Models/Charts/ChartState/ChartState.cs +++ b/grapher/Models/Charts/ChartState/ChartState.cs @@ -68,20 +68,6 @@ namespace grapher.Models.Charts.ChartState GainChart.DrawLastMovementValue(TwoDotsPerGraph); } - public void SetWidened() - { - SensitivityChart.SetWidened(); - VelocityChart.SetWidened(); - GainChart.SetWidened(); - } - - public void SetNarrowed() - { - SensitivityChart.SetNarrowed(); - VelocityChart.SetNarrowed(); - GainChart.SetNarrowed(); - } - public void ClearLastValue() { SensitivityChart.ClearLastValue(); @@ -89,23 +75,16 @@ namespace grapher.Models.Charts.ChartState GainChart.ClearLastValue(); } - public void ShowVelocityAndGain(Form form, int borderHeight) + public void ShowVelocityAndGain() { VelocityChart.Show(); GainChart.Show(); - form.Height = SensitivityChart.Height + - Constants.ChartSeparationVertical + - VelocityChart.Height + - Constants.ChartSeparationVertical + - GainChart.Height + - borderHeight; } - public void HideVelocityAndGain(Form form, int borderHeight) + public void HideVelocityAndGain() { VelocityChart.Hide(); GainChart.Hide(); - form.Height = SensitivityChart.Height + borderHeight; } public void SetLogarithmic(bool x, bool y) |