mirror of
https://github.com/huderlem/porymap.git
synced 2026-09-16 21:05:47 -05:00
Fix connections occluding events
This commit is contained in:
@@ -76,7 +76,7 @@ bool ConnectionPixmapItem::getEditable() {
|
||||
|
||||
void ConnectionPixmapItem::updateHighlight(bool selected) {
|
||||
bool editable = this->getEditable();
|
||||
int zValue = (selected || !editable) ? 0 : -1;
|
||||
int zValue = (selected || !editable) ? -1 : -2;
|
||||
qreal opacity = (selected || !editable) ? 1 : 0.75;
|
||||
this->setZValue(zValue);
|
||||
this->render(opacity);
|
||||
|
||||
Reference in New Issue
Block a user