when I click on a piece (left click), there is a background-red for the cutting shape and the seam-shape. With the superposition, we have shade of red. When I open the context-menu on a piece (right click), only the seam-shape is colored in red. I would expect the same behaviour (selection) as with the left click.
This commit is contained in:
parent
db28a6fe91
commit
72da739e90
|
@ -447,7 +447,7 @@ void VPGraphicsPiece::PaintPiece(QPainter *painter)
|
|||
if (painter != nullptr)
|
||||
{
|
||||
painter->save();
|
||||
painter->setBrush(isSelected() ? selectionBrush : noBrush);
|
||||
painter->setBrush(piece->IsSelected() ? selectionBrush : noBrush);
|
||||
painter->drawPath(m_cuttingLine);
|
||||
painter->restore();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user