From: Jean-Philippe Bruyère Date: Thu, 15 Mar 2018 16:03:55 +0000 (+0100) Subject: print deleted and discarded>2 lqis X-Git-Tag: 0.7.3~4^2~3 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=349026b730dfa53c59f20b3b0f0f9f9feecf43a5;p=jp%2Fcrow.git print deleted and discarded>2 lqis --- diff --git a/CrowIDE/src/Editors/ImlVisualEditor.cs b/CrowIDE/src/Editors/ImlVisualEditor.cs index 66ee3431..13f29f66 100644 --- a/CrowIDE/src/Editors/ImlVisualEditor.cs +++ b/CrowIDE/src/Editors/ImlVisualEditor.cs @@ -477,7 +477,7 @@ namespace Crow.Coding using (Surface ol = new ImageSurface (Format.Argb32, cb.Width, cb.Height)) { using (Context ctx = new Context (ol)) { ctx.SetSourceColor (Color.Black); - drawDesignOverlay (ctx, g, cb, hr, 0.4 / z, 4.5); + drawDesignOverlay (ctx, g, cb, hr, 0.4 / z, 6.5); } gr.SetSourceSurface (ol, 0, 0); @@ -508,7 +508,7 @@ namespace Crow.Coding pic.Paint (gr, r); gr.Operator = Operator.Over; } - void drawDesignOverlay (Context gr, GraphicObject g, Rectangle cb, Rectangle hr, double coteStroke, double space = 4.5){ + void drawDesignOverlay (Context gr, GraphicObject g, Rectangle cb, Rectangle hr, double coteStroke, double space = 6.5){ double z = zoom / 100.0; double coteW = 3, coteL = 5; bool fill = true; diff --git a/src/LayoutingQueueItem.cs b/src/LayoutingQueueItem.cs index a9ef298a..7efdf1bc 100644 --- a/src/LayoutingQueueItem.cs +++ b/src/LayoutingQueueItem.cs @@ -135,16 +135,16 @@ namespace Crow Layoutable.RegisteredLayoutings |= LayoutType; (Layoutable as GraphicObject).IFace.DiscardQueue.Enqueue (this); } - #if DEBUG_LAYOUTING +// #if DEBUG_LAYOUTING else Debug.WriteLine ("\tDELETED => " + this.ToString ()); - #endif +// #endif } - #if DEBUG_LAYOUTING else{ if (LayoutingTries > 2 || DiscardCount > 0) Debug.WriteLine (this.ToString ()); } + #if DEBUG_LAYOUTING LQITime.Stop(); #endif go.parentRWLock.ExitReadLock ();