Avoid superfluous calls to SetDirtyAsBlocks when dragging window

See: #170
This commit is contained in:
Jonathan G Rennison
2020-07-09 20:27:51 +01:00
parent e8843cb979
commit 48b15bb7b8
3 changed files with 7 additions and 2 deletions

View File

@@ -254,6 +254,7 @@ enum WindowFlags : uint16 {
WF_CENTERED = 1 << 10, ///< Window is centered and shall stay centered after ReInit.
WF_DIRTY = 1 << 11, ///< Whole window is dirty, and requires repainting.
WF_WIDGETS_DIRTY = 1 << 12, ///< One or more widgets are dirty, and require repainting.
WF_DRAG_DIRTIED = 1 << 13, ///< The window has already been marked dirty as blocks as part of the current drag operation
};
DECLARE_ENUM_AS_BIT_SET(WindowFlags)