Fixup commented view locate call
parent
86e71a232f
commit
174b9ce0cf
|
@ -126,7 +126,7 @@ def gpath_pin(
|
||||||
# get actual arrow graphics path
|
# get actual arrow graphics path
|
||||||
path_br = gpath.mapToScene(gpath.path()).boundingRect()
|
path_br = gpath.mapToScene(gpath.path()).boundingRect()
|
||||||
|
|
||||||
# vb.locate(arrow_path) #, children=True)
|
# label.vb.locate(label.txt) #, children=True)
|
||||||
|
|
||||||
if location_description == 'right-of-path-centered':
|
if location_description == 'right-of-path-centered':
|
||||||
return path_br.topRight() - QPointF(0, label.h / 3)
|
return path_br.topRight() - QPointF(0, label.h / 3)
|
||||||
|
|
Loading…
Reference in New Issue