diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2017-02-21 08:46:24 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2017-02-21 08:46:24 +0100 |
| commit | 9d7aaffb80ab36307c84f95c1b65748dd6910d4b (patch) | |
| tree | b7e5e44de9d179dc46315c1798814be54ee5d773 /src/Interface.cs | |
| parent | d28bdf7a0f3d6021c7af966c7ddcedc19e719c60 (diff) | |
move lastPaintedSlot affectation to end of Paint
Diffstat (limited to 'src/Interface.cs')
| -rw-r--r-- | src/Interface.cs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/Interface.cs b/src/Interface.cs index e90ae42c..c5b6013d 100644 --- a/src/Interface.cs +++ b/src/Interface.cs @@ -471,13 +471,8 @@ namespace Crow while (DrawingQueue.Count > 0) { lock (DrawingQueue) g = DrawingQueue.Dequeue (); - g.IsQueueForRedraw = false; - if (g.Parent == null) - continue; - lock (g) { - g.Parent.RegisterClip (g.LastPaintedSlot); - g.Parent.RegisterClip (g.getSlot ()); - } + lock (g) + g.ClippingRegistration (); } #if MEASURE_TIME |