Fix connection mask palette color
This commit is contained in:
parent
f08d02a67f
commit
2a37c18612
1 changed files with 2 additions and 2 deletions
|
@ -1525,8 +1525,8 @@ void Editor::maskNonVisibleConnectionTiles() {
|
||||||
);
|
);
|
||||||
|
|
||||||
// Mask the tiles with the current theme's background color.
|
// Mask the tiles with the current theme's background color.
|
||||||
QPen pen(ui->graphicsView_Map->palette().color(QPalette::Base));
|
QPen pen(ui->graphicsView_Map->palette().color(QPalette::Active, QPalette::Base));
|
||||||
QBrush brush(ui->graphicsView_Map->palette().color(QPalette::Base));
|
QBrush brush(ui->graphicsView_Map->palette().color(QPalette::Active, QPalette::Base));
|
||||||
|
|
||||||
connection_mask = scene->addPath(mask, pen, brush);
|
connection_mask = scene->addPath(mask, pen, brush);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue