Fix connection mask palette color

This commit is contained in:
BigBahss 2020-10-23 00:43:25 -04:00
parent f08d02a67f
commit 2a37c18612

View file

@ -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);
} }