Commit 79ed0ee
committed
FIX: always eraseRect in Qt widget
Re-focusing the figure window will call the draw method. If the
facecolor of the figure and axes are transparent and we do not
erase the widget we are effectively compositing the figure on to its
self which results in artifacts anywhere there is alpha or
anti-aliasing.
Closes #130121 parent 4aa2708 commit 79ed0ee
2 files changed
+4
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
244 | 243 | | |
245 | 244 | | |
246 | 245 | | |
| |||
491 | 490 | | |
492 | 491 | | |
493 | 492 | | |
494 | | - | |
495 | 493 | | |
496 | 494 | | |
497 | 495 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | 41 | | |
46 | 42 | | |
47 | 43 | | |
| |||
55 | 51 | | |
56 | 52 | | |
57 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
0 commit comments