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 | c6a874e350ff002c97faab382ffe46646fc8b51c (patch) | |
| tree | 7bce98597ee6531f9ca71a6b35dae8cb1f9beb98 /src/Interface.cs | |
| parent | 56e577d4ad9c260d401f9125587d25d76bddce69 (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); |