src/osx/native_window.mm in reflexion-0.1.28 vs src/osx/native_window.mm in reflexion-0.1.29

- old
+ new

@@ -42,10 +42,13 @@ Rays::Painter* painter = window->painter(); if (!painter) return; float pd = Window_get_pixel_density(*window); if (painter->pixel_density() != pd) + { painter->canvas(window->frame().dup().move_to(0, 0), pd); + window->redraw(); + } } @implementation NativeWindow