Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

Scrolling #7

Closed
wants to merge 3 commits into from
Closed

Scrolling #7

wants to merge 3 commits into from

Conversation

joshkel
Copy link
Contributor

@joshkel joshkel commented Apr 21, 2016

Implement automatically scrolling to focused code, as described in issue #6.

Scrolling is controlled by a new parameter to RevealCodeFocus and is off
by default, to avoid any possible compatibility issues, although it
would probably be more user-friendly in the long run to default to on.
(Using an options object would probably be also be better than a boolean
parameter.)

The implementation pulls "classList.add('focus')" into a helper function
and adds tracking of offset of the focused lines of code.
bnjmnt4n pushed a commit that referenced this pull request Jul 31, 2016
Add support for scrolling to focused code.
@bnjmnt4n
Copy link
Owner

Closed via 50aafa8.

@joshkel
Copy link
Contributor Author

joshkel commented Aug 2, 2016

Thanks.

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

Successfully merging this pull request may close these issues.

None yet

2 participants