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

Add ability to scroll village / storesContainer via keyboard #224

Merged
merged 5 commits into from
Feb 14, 2015
Merged

Add ability to scroll village / storesContainer via keyboard #224

merged 5 commits into from
Feb 14, 2015

Conversation

anubisthejackle
Copy link
Contributor

References Issue #115

When on Outside tab, if village / storesContainer expand beyond the viewport, this PR allows you to use your keyboard's up and down keys to scroll the sidebar.

Future enhancement could be integrating with the mousewheel.

anubisthejackle and others added 2 commits February 6, 2015 16:04
@groteworld
Copy link
Member

This is a good start, opens the question on scrolling, when pushing down I expect the bar to go up. Does the current way feel natural to others? This doesn't solve the overflow on the starting page of A Dusty Path either. But like I said a great start!

@anubisthejackle
Copy link
Contributor Author

Wasn't seeing the overflow on Dusty path. I'm guessing it has to do with a full store and full perks?

@groteworld
Copy link
Member

screen shot 2015-02-07 at 1 34 18 pm

While you actually can see everything, I dont think I have all perks on this save and its clipped the bottom.

By no means is it a deal breaker, Outside is much worse.

@anubisthejackle
Copy link
Contributor Author

Should be a relatively simple process, but it does cause me to rethink the placement of the movement functions.

I feel they're better put now in Engine (referencing the inView and scrollByX functions)

@groteworld
Copy link
Member

+1

@groteworld groteworld merged commit 340851a into doublespeakgames:master Feb 14, 2015
groteworld added a commit that referenced this pull request Feb 14, 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

Successfully merging this pull request may close these issues.

2 participants