Disable icon ChessBackground (accidentally also for filebrowser)

This commit is contained in:
flurick 2022-11-25 14:43:28 +01:00 committed by manongjohn
parent 5a8ce1101d
commit 460f2a66f4

View file

@ -1086,9 +1086,9 @@ Qt::transparent)
bbox = (bbox * icon->getBounds())
.enlarge(-1); // Add a 1 pixel transparent margin - this
if (bbox.getLx() > 0 &&
bbox.getLy() > 0) // way the actual content doesn't look trimmed.
::makeChessBackground(icon->extract(bbox));
//if (bbox.getLx() > 0 &&
// bbox.getLy() > 0) // way the actual content doesn't look trimmed.
// ::makeChessBackground(icon->extract(bbox));
} else
icon->fill(TPixel32(255, 0, 0));