]> O.S.I.I.S - jp/crow.git/commitdiff
print deleted and discarded>2 lqis
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Thu, 15 Mar 2018 16:03:55 +0000 (17:03 +0100)
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Thu, 15 Mar 2018 16:03:55 +0000 (17:03 +0100)
CrowIDE/src/Editors/ImlVisualEditor.cs
src/LayoutingQueueItem.cs

index 66ee3431bbad1f2f5e5dde3c423696c3c89f0750..13f29f662ef13258271d3f4c5b6ccdee3d49b4e2 100644 (file)
@@ -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;
index a9ef298a5dbfc1aa6a12a49479418cffdc9825ab..7efdf1bc0feef668e594800875c1a241927c690a 100644 (file)
@@ -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 ();