Skip to content
Permalink
Browse files

Merge PR #3616: OverlayEditorScene: fix object opacity calculation

  • Loading branch information...
davidebeatrici committed Mar 1, 2019
2 parents 1974ac0 + 42ab841 commit 03258363dfcc6fa9f741ced5b823ef6a50e6eca3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mumble/OverlayEditorScene.cpp
@@ -556,7 +556,7 @@ void OverlayEditorScene::contextMenuEvent(QGraphicsSceneContextMenuEvent *e) {
QMenu *qmObjTrans = qm.addMenu(tr("Object Opacity"));
QActionGroup *qagObject = new QActionGroup(&qm);
for (int i=0;i<8;++i) {
qreal o = i + 1 / 8.0;
qreal o = (i + 1) / 8.0;

objectOpacity[i] = new QAction(tr("%1%").arg(o * 100.0f, 0, 'f', 1), qagObject);
objectOpacity[i]->setCheckable(true);

0 comments on commit 0325836

Please sign in to comment.
You can’t perform that action at this time.