Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 33c6538 + 9fc3e05 commit 502aae0Copy full SHA for 502aae0
1 file changed
src/_macosx.m
@@ -1352,7 +1352,8 @@ - (void)updateDevicePixelRatio:(double)scale
1352
}
1353
if (PyObject_IsTrue(change)) {
1354
// Notify that there was a resize_event that took place
1355
- gil_call_method(canvas, "resize_event");
+ PROCESS_EVENT("ResizeEvent", "sO", "resize_event", canvas);
1356
+ gil_call_method(canvas, "draw_idle");
1357
[self setNeedsDisplay: YES];
1358
1359
0 commit comments