Commit 24e8707f authored by Matias Guijarro's avatar Matias Guijarro
Browse files

merge

parent 39c6d471
......@@ -484,8 +484,8 @@ class QubCanvasSlitbox(qtcanvas.QCanvasRectangle) :
self.__slitbox_width = None
self.__slitbox_height = None
self.xMid = self.__canvas.width() / 2
self.yMid = self.__canvas.height() / 2
self.xMid = 0
self.yMid = 0
def update(self) :
self.__hline.setPoints(self.xMid - 20,self.yMid,self.xMid + 20,self.yMid)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment