mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 07:47:54 +01:00
Update Terminal.Gui/ViewBase/View.NeedsDraw.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||
/// any part of the view's <see cref="Viewport"/> needs to be redrawn.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// Setting has no effect on <see cref="NeedsLayout"/>.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public bool NeedsDraw => Visible && (NeedsDrawRect != Rectangle.Empty || Margin?.NeedsDraw == true || Border?.NeedsDraw == true || Padding?.NeedsDraw == true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user