WxPandaWindow.OpenGLPandaWindow does not support mouse wheel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Panda3D |
Fix Released
|
Undecided
|
rdb |
Bug Description
OpenGLPandaWindow in direct.
Fix:
add this bind:
self.Bind(
add this method:
def __mouseWheel(self, event):
if amount>0.0:
elif amount<0.0:
Issues with this fix:
scroll amount is not forwarded.
does not scroll until you click on the panda window to focus is.
This fix can be added to a subclass as a workaround until it makes it into panda.
Changed in panda3d: | |
milestone: | 1.8.2 → 1.9.0 |
Changed in panda3d: | |
status: | Fix Committed → Fix Released |
Thanks for providing a fix.