fixed trasparency problem

preferencesAboutTextFull
Claudio Valerio 11 years ago
parent 552de9966b
commit 67e4b32109
  1. 2
      src/tools/UBGraphicsCurtainItem.cpp

@ -124,7 +124,7 @@ void UBGraphicsCurtainItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
void UBGraphicsCurtainItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
{
QColor color = drawColor();
painter->setCompositionMode(QPainter::CompositionMode_SourceOver);
if(widget == UBApplication::boardController->controlView()->viewport())
{
color = UBSettings::paletteColor;

Loading…
Cancel
Save