On Jun 21, 9:32 am, Steve Johnson <[email protected]> wrote: > And here, I believe, is your culprit, in Dialog.on_mouse_drag(): > def on_mouse_drag(self, x, y, dx, dy, buttons, modifiers): > ... > The dx and dy variables are floats, casting x and y as floats as well > for that operation.
That's truly odd - normally dx and dy are ints, it must be implementation specific! I'm going to need to watch that. I'll add some more bulletproofing - at least this is easy to force just by adding a typecast to float for dx and dy. :) Expect a 5.6.2 later today! > Now I'm noticing another bug, which you can see in the screenshots at > the link below. (Look at the background of the dialogs.) That's actually just the window style, they're intended to have 25% of their background shaded, but I'll change the theme style away from that because it's causing confusion rather than looking artistic. :) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
