Update Terminal.Gui/ViewBase/View.NeedsDraw.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Tig
2025-12-04 17:06:31 -07:00
committed by GitHub
parent d85edc94b0
commit c8fafbcb1a

View File

@@ -19,9 +19,6 @@ public partial class View
/// Will be <see langword="true"/> if the <see cref="NeedsLayout"/> property is <see langword="true"/> or if /// Will be <see langword="true"/> if the <see cref="NeedsLayout"/> property is <see langword="true"/> or if
/// any part of the view's <see cref="Viewport"/> needs to be redrawn. /// any part of the view's <see cref="Viewport"/> needs to be redrawn.
/// </para> /// </para>
/// <para>
/// Setting has no effect on <see cref="NeedsLayout"/>.
/// </para>
/// </remarks> /// </remarks>
public bool NeedsDraw => Visible && (NeedsDrawRect != Rectangle.Empty || Margin?.NeedsDraw == true || Border?.NeedsDraw == true || Padding?.NeedsDraw == true); public bool NeedsDraw => Visible && (NeedsDrawRect != Rectangle.Empty || Margin?.NeedsDraw == true || Border?.NeedsDraw == true || Padding?.NeedsDraw == true);