mirror of
https://github.com/Stone-Red-Code/RemSox.git
synced 2026-09-04 09:06:23 +02:00
Prevent display update during window resizing in TerminalProcess
This commit is contained in:
@@ -58,6 +58,9 @@ public sealed class Window(string title, int processId, int id, IRenderSource re
|
||||
/// <summary> Gets whether the window is currently being dragged. </summary>
|
||||
public bool IsDragging => currentInteraction == InteractionMode.Drag;
|
||||
|
||||
/// <summary> Gets whether the window is currently being resized. </summary>
|
||||
public bool IsResizing => currentInteraction is InteractionMode.ResizeTop or InteractionMode.ResizeBottom or InteractionMode.ResizeLeft or InteractionMode.ResizeRight or InteractionMode.ResizeTopLeft or InteractionMode.ResizeTopRight or InteractionMode.ResizeBottomLeft or InteractionMode.ResizeBottomRight;
|
||||
|
||||
private readonly Lock uiElementsLock = new();
|
||||
private readonly Dictionary<int, UIElement> uiElements = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user