changed alpha of overlay
TODO: Add this setting to screen overlay
This commit is contained in:
parent
aa75665234
commit
2242f3f188
@ -105,7 +105,8 @@ CropScene::CropScene(QObject *parent, QPixmap pixmap)
|
|||||||
poly.append(prect.bottomRight());
|
poly.append(prect.bottomRight());
|
||||||
poly.append(prect.bottomLeft());
|
poly.append(prect.bottomLeft());
|
||||||
polyItem = new QGraphicsPolygonItem(poly);
|
polyItem = new QGraphicsPolygonItem(poly);
|
||||||
polyItem->setBrush(QBrush(QColor(0, 0, 0, 191)));
|
// TODO: Add Alpha Setting in screen overlay setting
|
||||||
|
polyItem->setBrush(QBrush(QColor(0, 0, 0, 96)));
|
||||||
polyItem->setPen(QPen(Qt::NoPen));
|
polyItem->setPen(QPen(Qt::NoPen));
|
||||||
polyItem->setZValue(1);
|
polyItem->setZValue(1);
|
||||||
addItem(polyItem);
|
addItem(polyItem);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user