Merge pull request #326 from rlegnain/develop
Added "self.moving = False" in InfLineLabel class
This commit is contained in:
commit
1acb8accbd
@ -325,6 +325,7 @@ class InfLineLabel(TextItem):
|
||||
def __init__(self, line, text="", movable=False, position=0.5, anchors=None, **kwds):
|
||||
self.line = line
|
||||
self.movable = movable
|
||||
self.moving = False
|
||||
self.orthoPos = position # text will always be placed on the line at a position relative to view bounds
|
||||
self.format = text
|
||||
self.line.sigPositionChanged.connect(self.valueChanged)
|
||||
|
Loading…
Reference in New Issue
Block a user