This repository has been archived by the owner. It is now read-only.

Fix selected item not visible when using arrow up key #132

Merged
merged 1 commit into from Apr 26, 2018

Conversation

Projects
None yet
1 participant
@simurai
Member

simurai commented Apr 26, 2018

Description of the Change

This adds the same "hack" as atom/one-dark-ui#252, but to a directory's .header, instead of the directory itself. The reason is because testing if it should be scrolled gets moved to the .header, see tree-view.coffee#L839.

Benefits

Selected directories are visible when using the ⬆️ key.

tree-view

Possible Drawbacks

More hacks.

Applicable Issues

Another follow-up fix for atom/one-dark-ui#246
Fixes atom/tree-view#1245 (comment)

Show directories when using arrow keys
And have sticky projects enabled.

@simurai simurai merged commit b9bf584 into master Apr 26, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@simurai simurai deleted the sm-sticky-fix branch Apr 26, 2018

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