Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Keep resize cursor better while dragging #89

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

srguiwiz
Copy link
Contributor

Hitherto when carefully dragging column splitbar to the left or row splitbar
to the top then cursor exiting splitbar proper changed from resize to other.

That was visually annoying, flickering.

This fix makes the cursor remain resize much better.

By saying "mouse is in middle of splitbar" it stays within splitbar better.

Have verified it still correctly respects min-size.

Hitherto when carefully dragging column splitbar to the left or row splitbar
to the top then cursor exiting splitbar proper changed from resize to other.

This fix makes the cursor remain resize much better.
@SomeKittens
Copy link
Contributor

Plunk implementing this code: http://embed.plnkr.co/tGgrojQnYyV74QI8ajvL/preview (thanks @j--w )

@SomeKittens
Copy link
Contributor

I'm still seeing the cursor type flicker back and forth. Am I missing something?

@j--w
Copy link

j--w commented Sep 12, 2015

Its less flickering when dragging slowly, don't think its different enough to be considered a fix though.

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.

3 participants