Commit 91787ea5 authored by Maxime Perrotin's avatar Maxime Perrotin

Apply MSC fix to all elements

parent bc4fdc66
......@@ -69,7 +69,7 @@ class MscStreamingScene(MscGraphBasicMSCScene):
y=y - self.globalDiff, data=coreMsg)
rst = super(MscStreamingScene, self).addMessage2(graphMsg)
self.visible_items.append (rst)
self.visible_items.append(rst)
rst.show()
self.streamingControl(rst)
rst.ensureVisible()
......@@ -81,6 +81,8 @@ class MscStreamingScene(MscGraphBasicMSCScene):
''' Add new "condition" in streaming mode '''
y = y - self.globalDiff
rst = super(MscStreamingScene, self).addCondition(instance, y, label)
self.visible_items.append(rst)
rst.show()
self.streamingControl(rst)
rst.ensureVisible()
return rst
......@@ -91,6 +93,8 @@ class MscStreamingScene(MscGraphBasicMSCScene):
y = y - self.globalDiff
pos = instance.mapFromScene(0, y)
rst = super(MscStreamingScene, self).addTimer(instance, pos, label)
self.visible_items.append(rst)
rst.show()
self.streamingControl(rst)
rst.ensureVisible()
return rst
......@@ -122,6 +126,8 @@ class MscStreamingScene(MscGraphBasicMSCScene):
''' Add new "procedure call" in streaming mode '''
y = y - self.globalDiff
rst = super(MscStreamingScene, self).addProcedure(instance, y, label)
self.visible_items.append(rst)
rst.show()
self.streamingControl(rst)
rst.ensureVisible()
return rst
......
Markdown is supported
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