aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/Interface.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Interface.cs')
-rw-r--r--src/Interface.cs9
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