mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
Fix incorrect detection of grids with advanced effects
This commit is contained in:
parent
ab7873cd23
commit
770ffdf614
@ -375,7 +375,7 @@ void QgsLayoutItemMapGrid::setCrs( const QgsCoordinateReferenceSystem &crs )
|
||||
|
||||
bool QgsLayoutItemMapGrid::usesAdvancedEffects() const
|
||||
{
|
||||
return mBlendMode == QPainter::CompositionMode_SourceOver;
|
||||
return mBlendMode != QPainter::CompositionMode_SourceOver;
|
||||
}
|
||||
|
||||
QPolygonF QgsLayoutItemMapGrid::scalePolygon( const QPolygonF &polygon, const double scale ) const
|
||||
|
Loading…
x
Reference in New Issue
Block a user