[qet] [2451] change zvalue of conductor at 9, to be at bottom of element (it' s better to grab terminal)

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 2451
Author:   blacksun
Date:     2013-08-24 18:52:11 +0200 (Sat, 24 Aug 2013)
Log Message:
-----------
change zvalue of conductor at 9, to be at bottom of element (it's better to grab terminal) 

Modified Paths:
--------------
    trunk/sources/conductor.cpp

Modified: trunk/sources/conductor.cpp
===================================================================
--- trunk/sources/conductor.cpp	2013-08-24 15:32:07 UTC (rev 2450)
+++ trunk/sources/conductor.cpp	2013-08-24 16:52:11 UTC (rev 2451)
@@ -51,8 +51,8 @@
 	segments_squares_scale_(1.0),
 	must_highlight_(Conductor::None)
 {
-	//set Zvalue at 10 to be upper than the DiagramImageItem
-	setZValue(10);
+	//set Zvalue at 9 to be upper than the DiagramImageItem and bottom of element(10)
+	setZValue(9);
 	previous_z_value = zValue();
 
 	// ajout du conducteur a la liste de conducteurs de chacune des deux bornes


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/