diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2017-11-20 21:55:34 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2017-11-20 21:55:34 +0100 |
| commit | e878ab885138361617d47eca5cc7b9a986498ef6 (patch) | |
| tree | 5bda7829165f5bef26d8c7f4c8bf6afa7eb28ff8 /src/Interface.cs | |
| parent | 5185d70ddd14728576bafdfea267981baed88d84 (diff) | |
IsDirty bug
Diffstat (limited to 'src/Interface.cs')
| -rw-r--r-- | src/Interface.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Interface.cs b/src/Interface.cs index 53d90ea5..19f4a889 100644 --- a/src/Interface.cs +++ b/src/Interface.cs @@ -534,11 +534,11 @@ namespace Crow lock (RenderMutex) { // Array.Copy (bmp, dirtyBmp, bmp.Length); - IsDirty = true; if (IsDirty) DirtyRect += clipping.Extents; else DirtyRect = clipping.Extents; + IsDirty = true; DirtyRect.Left = Math.Max (0, DirtyRect.Left); DirtyRect.Top = Math.Max (0, DirtyRect.Top); |