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.
1 parent 6c323d4 commit a42fb6aCopy full SHA for a42fb6a
library/graphics/SceneManager.cc
@@ -277,9 +277,9 @@ namespace gf {
277
window()->close();
278
break;
279
280
- case EventType::WindowResized:
+ case EventType::WindowPixelSizeChanged:
281
{
282
- auto surface_size = event->from<EventType::WindowResized>().size;
+ auto surface_size = event->from<EventType::WindowPixelSizeChanged>().size;
283
render_manager()->update_surface_size(surface_size);
284
m_scene->set_surface_size(surface_size);
285
}
0 commit comments