mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
This commit is contained in:
@@ -501,7 +501,7 @@ public class TextAlignmentAndDirection : Scenario
|
||||
Enabled = false
|
||||
};
|
||||
|
||||
justifyCheckbox.CheckedStateChanging += (s, e) => ToggleJustify (e.NewValue != CheckState.Checked);
|
||||
justifyCheckbox.CheckedStateChanging += (s, e) => ToggleJustify (e.Result != CheckState.Checked);
|
||||
|
||||
justifyOptions.SelectedItemChanged += (s, e) => { ToggleJustify (false, true); };
|
||||
|
||||
@@ -521,7 +521,7 @@ public class TextAlignmentAndDirection : Scenario
|
||||
|
||||
wrapCheckbox.CheckedStateChanging += (s, e) =>
|
||||
{
|
||||
if (e.CurrentValue == CheckState.Checked)
|
||||
if (e.Result == CheckState.Checked)
|
||||
{
|
||||
foreach (View t in multiLineLabels)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user