From 6f92d6db40c4196a7f7cc978abce1924ddc676fb Mon Sep 17 00:00:00 2001 From: Tig Date: Sat, 6 Jul 2024 16:29:19 -0600 Subject: [PATCH] Added comments --- Terminal.Gui/View/Adornment/Margin.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Terminal.Gui/View/Adornment/Margin.cs b/Terminal.Gui/View/Adornment/Margin.cs index f76f0e8b8..2e1ea5760 100644 --- a/Terminal.Gui/View/Adornment/Margin.cs +++ b/Terminal.Gui/View/Adornment/Margin.cs @@ -178,7 +178,7 @@ public class Margin : Adornment { // If the view is pressed and the highlight is being removed, move the shadow back. // Note, for visual effects reasons, we only move horizontally. - // TODO: Add a setting or flag that lets the shadow move vertically as well. + // TODO: Add a setting or flag that lets the view move vertically as well. Thickness = new (Thickness.Left - 1, Thickness.Top, Thickness.Right + 1, Thickness.Bottom); if (_rightShadow is { }) @@ -200,7 +200,7 @@ public class Margin : Adornment { // If the view is not pressed and we want highlight move the shadow // Note, for visual effects reasons, we only move horizontally. - // TODO: Add a setting or flag that lets the shadow move vertically as well. + // TODO: Add a setting or flag that lets the view move vertically as well. Thickness = new (Thickness.Left + 1, Thickness.Top, Thickness.Right - 1, Thickness.Bottom); _pressed = true;