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

Seamless Toggling of Wrapped/Unwrapped States #18

Merged
merged 2 commits into from
May 26, 2018

Conversation

jeetsukumaran
Copy link
Contributor

@jeetsukumaran jeetsukumaran commented May 26, 2018

The position changes (or non-changes) when wrapping/unwrapping can be jarring. This PR maintains flow and "spatial idempotency", allowing you to toggle back and forth between wrapped and unwrapped states without moving. Addresses #7 .

Here is a GIF of it in action:

https://imgur.com/a/PaDZtzA

I am only hitting the "wrap" command key binding repeatedly to cycle back and forth between the wrapped/unwrapped states, with no need for any movements on my part.

This (in combination with previous patch) allows for seamless back-and-forth toggling between wrapped and
unwrapped states.
@FooSoft
Copy link
Owner

FooSoft commented May 26, 2018

Looks good, thanks for the code!

@FooSoft FooSoft merged commit f0f360e into FooSoft:master May 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants