-
Notifications
You must be signed in to change notification settings - Fork 0
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
[CLOSED] Increase / Decrease Font Size with the Mouse Wheel #3054
Comments
Comment by peterflynn A few quick questions:
|
Comment by TomMalbran
|
Comment by lkcampbell Just a clarification, the scroll position wasn't broken by the font size persistence changes. The positioning never worked correctly, I just preserved the existing behavior intending to fix it later. At any rate, glad it is being addressed. |
Comment by jbalsas I agree with Peter that shift+wheel may not be worth the effort as it won't be discoverable at all. To add more complexity, in current trackpads cmd+wheel (two finger scroll) doesn't even work. This action is mapped to a pinch gesture instead.
|
Comment by TomMalbran
|
Comment by TomMalbran The request #3300 now has only the scroll fixes and the unit tests (without the mouse wheel ones). I will leave this request as it is until we decide what to do with the mouse wheel scroll and merge it with #3300 if required. |
Comment by peterflynn
|
Comment by TomMalbran
|
Comment by adrocknaphobia Sorry. This needs to be Ctrl + Scroll (not Shift). Can we get to the bottom of why this isn't working w/ Ctrl? This does work in Chrome (browser), so maybe there is a CEF bug. |
Comment by TomMalbran It's ok, I would like it if it could work with Ctrl, but it doesn't. I made this jsfiddle: http://jsfiddle.net/7nqps/. If you scroll on the results section it will pop an alert with 2, if you press Ctrl, it should pop an alert with 1, but since Chrome catches the mouse wheel event event when Ctrl is pressed and doesn't let it get to the page, it does nothing. This is done so that Ctrl + Scroll zooms in Chrome, but since in CEF this isn't required, it would be nice if there is a way to make CEF push this event. |
Comment by peterflynn
|
Comment by TomMalbran I haven't found bug yet, but I did found out that CEF has a zoom implementation, but I am not sure if this could be used to map it to solve this problem, since I don't know much about CEF, and the forums aren't helping much. |
Comment by njx Sounds like we should close this for now. The scrollwheel issue is captured on the Trello card, so we can pursue it in future when we have time to look at it. Thanks. |
Issue by TomMalbran
Tuesday Mar 26, 2013 at 07:25 GMT
Originally opened as adobe/brackets#3250
This should complete the tasks in this Trello Card.
Unfortunately chrome doesn't trigger a mouse wheel event when control is pressed, so I had to use Shift + Mouse Wheel Scroll.
Updated: Since #3300 was merged, this request now only has the font size adjustments using the mouse wheel.
TomMalbran included the following code: https://github.com/adobe/brackets/pull/3250/commits
The text was updated successfully, but these errors were encountered: