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

Stage.ScrollFocus mistyped #2968

Closed
xpenatan opened this issue Mar 22, 2015 · 0 comments
Closed

Stage.ScrollFocus mistyped #2968

xpenatan opened this issue Mar 22, 2015 · 0 comments

Comments

@xpenatan
Copy link
Contributor

I think oldScrollFocus actor needs to be scrollFocus listener and not keyboardFocus listener.

Stage at line 638

public void setScrollFocus (Actor actor) {
        if (scrollFocus == actor) return;
        FocusEvent event = Pools.obtain(FocusEvent.class);
        event.setStage(this);
        event.setType(FocusEvent.Type.scroll);
        Actor oldScrollFocus = keyboardFocus;
...
nooone added a commit to nooone/libgdx that referenced this issue Mar 22, 2015
My eclipse initially added 10 missing `@Override`s (I still don't know why *some* people don't like 'em), so I used the github file edit feature instead.
MobiDevelop added a commit that referenced this issue Mar 22, 2015
@xoppa xoppa closed this as completed Mar 22, 2015
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

2 participants