diff options
| author | Stefan Wildemann <metalstrolch@users.noreply.github.com> | 2019-09-20 09:28:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-20 09:28:46 +0200 |
| commit | deccb6c4379e135ae45513a7bfef3b4998f24e94 (patch) | |
| tree | d44e92d33b18d0f106c50c0c7a63976ca60cf9bf /docs/development/linux_development.rst | |
| parent | a9a1375c7445b2f60bbd0e75cba70f14ca1c64ee (diff) | |
| download | navit-deccb6c4379e135ae45513a7bfef3b4998f24e94.tar.gz | |
fix:graphics/qt5: Allow to draw transparent polygons (#878)
There is a "misconception" in qt5 graphics about how to draw transparent stuff causing transparent items on the map to not correctly work. This PR changes qt5 graphics to force-clear overlays on starting to draw them instead of force clearing the shape of a transparent item. While this imposes the limitation that the content of an overlay cannot be drawn in multiple runs, it allows to draw transparent stuff on the map.
Luckily I don't know of any overlay item yet that is not drawn in one run. So this seems to work OK.
Diffstat (limited to 'docs/development/linux_development.rst')
0 files changed, 0 insertions, 0 deletions
