Browse Source

fix multi measure rest display regression

master
Nils 3 years ago
parent
commit
5aff3e6e60
  1. 4
      qtgui/items.py

4
qtgui/items.py

@ -824,8 +824,8 @@ class GuiMultiMeasureRest(GuiItem):
char = QtSvg.QGraphicsSvgItem()
char.setSharedRenderer(GuiTimeSignature.renderer)
char.setElementId(n)
#char.setPos(i*4*constantsAndConfigs.magicPixel + 4* constantsAndConfigs.magicPixel, -3*constantsAndConfigs.stafflineGap)
char.setPos(leftBlock.rect().width(), -3*constantsAndConfigs.stafflineGap)
char.setPos(i*4*constantsAndConfigs.magicPixel + 4* constantsAndConfigs.magicPixel, -3*constantsAndConfigs.stafflineGap) #this was older but commented out without given a reason. Now it is back.
#char.setPos(leftBlock.rect().width(), -3*constantsAndConfigs.stafflineGap) #This was newer, but was only good for single digits
char.setScale(1.5)
char.setParentItem(self)

Loading…
Cancel
Save