Version: 1.10.1
Operating System: Windows 10, Ubuntu
My Issue/Question
Resize viewport callback is only called when the viewport size is increased. If the viewport size is shrunk, the resize callback function is not called.
To Reproduce
Steps to reproduce the behavior:
Start with DPG example code in readme, or similarly simple example.
Define a function to be called on viewport resize, "resize_viewport_callback"
Set viewport resize callback with "dpg.set_viewport_resize_callback(resize_viewport_callback)"
Launch program.
Resize the viewport window.
Expected behavior
Resize callback function is called each frame the viewport is resized, (both enlarged and shrunk).
Version of Dear PyGui
Version: 1.10.1 Operating System: Windows 10, Ubuntu
My Issue/Question
Resize viewport callback is only called when the viewport size is increased. If the viewport size is shrunk, the resize callback function is not called.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Resize callback function is called each frame the viewport is resized, (both enlarged and shrunk).
Screenshots/Video