Sync graphics item with matrix and shadow common parameters.
This commit is contained in:
@@ -40,6 +40,9 @@ namespace glabels
|
||||
pen.setWidthF( lineWidth() );
|
||||
rectItem->setPen( pen );
|
||||
|
||||
updateGraphicsItemMatrix( rectItem );
|
||||
updateGraphicsItemShadow( rectItem );
|
||||
|
||||
return rectItem;
|
||||
}
|
||||
|
||||
@@ -58,6 +61,9 @@ namespace glabels
|
||||
QPen pen( lineColorNode().color() );
|
||||
pen.setWidthF( lineWidth() );
|
||||
rectItem->setPen( pen );
|
||||
|
||||
updateGraphicsItemMatrix( rectItem );
|
||||
updateGraphicsItemShadow( rectItem );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user