Commit 29dad01
committed
FIX: Update macosx animation handling
- Emit a resize_event signal when the pixel ratio is updated. This
enables an animation to move between hidpi and standard dpi screens
without ruining the blitting.
- Init the draw in the animation. This is only necessary for macosx
because an initial resize isn't emitted upon figure manager creation,
versus the other backends where it is. This would cause the first frame
to be stale on the macosx animations when used with blitting.1 parent b3f61d1 commit 29dad01
2 files changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1199 | 1199 | | |
1200 | 1200 | | |
1201 | 1201 | | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
1202 | 1210 | | |
1203 | 1211 | | |
1204 | | - | |
1205 | 1212 | | |
1206 | 1213 | | |
1207 | 1214 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1329 | 1329 | | |
1330 | 1330 | | |
1331 | 1331 | | |
| 1332 | + | |
| 1333 | + | |
1332 | 1334 | | |
1333 | 1335 | | |
1334 | 1336 | | |
| |||
0 commit comments