Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

big-bang3d doesn't handle mouse wheel scrolling #24

Open
co-dan opened this issue Dec 29, 2019 · 0 comments
Open

big-bang3d doesn't handle mouse wheel scrolling #24

co-dan opened this issue Dec 29, 2019 · 0 comments

Comments

@co-dan
Copy link

co-dan commented Dec 29, 2019

Test case:

#lang racket
(require pict3d pict3d/universe)

(big-bang3d 0)

Whenever I scroll the mouse wheel in the canvas I get the following error:

../../../usr/share/racket/collects/racket/private/more-scheme.rkt:148:2: on-key: unknown key code type #f

I believe that the issue is the on-char method defined in private/universe/big-bang.rkt: it calls code->string, which is not able to decode the mouse wheel code (#f for some reason).

I am using Racket v 7.5 on Ubuntu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant