mirror of
https://github.com/huderlem/porymap.git
synced 2026-09-07 08:25:20 -05:00
Fix connection mask palette color
This commit is contained in:
@@ -1525,8 +1525,8 @@ void Editor::maskNonVisibleConnectionTiles() {
|
||||
);
|
||||
|
||||
// Mask the tiles with the current theme's background color.
|
||||
QPen pen(ui->graphicsView_Map->palette().color(QPalette::Base));
|
||||
QBrush brush(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::Active, QPalette::Base));
|
||||
|
||||
connection_mask = scene->addPath(mask, pen, brush);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user