I have a resizable window that I want to keep its aspect ratio, so I'm
doing this:
def on_resize(width, height):
window.width = height * 4/3
This works but it seems to still draw the window with the original
size first, so you can see the border flickering between 2 positions
which looks terrible. Any way to fix that?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---