diff options
| author | Jacob Palecki <[email protected]> | 2021-04-25 21:57:25 -0700 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2021-04-25 21:57:25 -0700 |
| commit | 0af5b1d23be9ecfb0134c957197cfd8f838b7998 (patch) | |
| tree | 0e98a6cf933742d14d93c0feded2845aeda3beba /grapher/Models/Options/TextOption.cs | |
| parent | update signed (diff) | |
| download | rawaccel-0af5b1d23be9ecfb0134c957197cfd8f838b7998.tar.xz rawaccel-0af5b1d23be9ecfb0134c957197cfd8f838b7998.zip | |
Fixed layout issues for LUT
Diffstat (limited to 'grapher/Models/Options/TextOption.cs')
| -rw-r--r-- | grapher/Models/Options/TextOption.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/grapher/Models/Options/TextOption.cs b/grapher/Models/Options/TextOption.cs index 292b805..3c6f378 100644 --- a/grapher/Models/Options/TextOption.cs +++ b/grapher/Models/Options/TextOption.cs @@ -29,7 +29,7 @@ namespace grapher.Models.Options { get { - return Label.Visible; + return Label.Visible || ShouldShow; } } @@ -77,15 +77,22 @@ namespace grapher.Models.Options } } + private bool ShouldShow + { + get; set; + } + public override void Hide() { Label.Hide(); + ShouldShow = false; } public override void Show(string Name) { Label.Show(); Label.Text = Name; + ShouldShow = true; } public override void AlignActiveValues() |