revert on composition mode on polygon items

preferencesAboutTextFull
Clément Fauconnier 7 years ago
parent a97bdc4b21
commit 0d66ec255d
  1. 2
      src/domain/UBGraphicsPolygonItem.cpp

@ -184,7 +184,7 @@ void UBGraphicsPolygonItem::copyItemParameters(UBItem *copy) const
void UBGraphicsPolygonItem::paint ( QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget)
{
if(mHasAlpha && scene() && scene()->isLightBackground())
painter->setCompositionMode(QPainter::CompositionMode_Darken);
painter->setCompositionMode(QPainter::CompositionMode_SourceOver);
painter->setRenderHints(QPainter::Antialiasing);

Loading…
Cancel
Save