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

Allow horizontal scrolling with left/right arrow keys. #9359

Merged
merged 1 commit into from Jan 18, 2016

Conversation

@glennw
Copy link
Member

glennw commented Jan 18, 2016

Review on Reviewable

@glennw
Copy link
Member Author

glennw commented Jan 18, 2016

This is needed to debug some of the scrolling issues in browser.html on linux - such as #9306.

@glennw
Copy link
Member Author

glennw commented Jan 18, 2016

r? @mbrubeck (or anyone)

self.scroll_window(LINE_HEIGHT, 0.0);
}
(NONE, Key::Right) => {
self.scroll_window(-LINE_HEIGHT, 0.0);

This comment has been minimized.

@KiChjang

KiChjang Jan 18, 2016

Member

Should these be 3.0 * LINE_HEIGHT instead (similar to the Up and Down keys above)?

This comment has been minimized.

@glennw

glennw Jan 18, 2016

Author Member

I think it's preferable for the horizontal scroll to be more fine grained than the vertical scroll, by default.

@KiChjang
Copy link
Member

KiChjang commented Jan 18, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Jan 18, 2016

📌 Commit d9c6431 has been approved by KiChjang

@bors-servo
Copy link
Contributor

bors-servo commented Jan 18, 2016

Testing commit d9c6431 with merge 2cfed41...

bors-servo added a commit that referenced this pull request Jan 18, 2016
Allow horizontal scrolling with left/right arrow keys.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9359)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Jan 18, 2016

@bors-servo bors-servo merged commit d9c6431 into servo:master Jan 18, 2016
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@glennw glennw deleted the glennw:scroll-horizontal branch Dec 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

6 participants
You can’t perform that action at this time.