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

Breadcrumb Tab Control #865

Merged
merged 10 commits into from May 29, 2017

Conversation

3 participants
@DrabWeb
Contributor

DrabWeb commented May 26, 2017

https://streamable.com/un3e8

An OsuTabControl styled to look like a breadcrumb control

public readonly TextAwesome Chevron;
//don't allow clicking between transitions and don't make the chevron clickable
protected override bool InternalContains(Vector2 screenSpacePos) => Alpha == 1f && Text.Contains(screenSpacePos);

This comment has been minimized.

@peppy

peppy May 27, 2017

Member

rather than using Alpha == 1, can you just set HandleInput based on when an element should start being clickable/unclickable?

@peppy

peppy May 27, 2017

Member

rather than using Alpha == 1, can you just set HandleInput based on when an element should start being clickable/unclickable?

@peppy

This comment has been minimized.

Show comment
Hide comment
@peppy

peppy May 29, 2017

Member

Really slick implementation 👍

Member

peppy commented May 29, 2017

Really slick implementation 👍

@peppy

peppy approved these changes May 29, 2017

@peppy peppy merged commit cc201c4 into ppy:master May 29, 2017

1 check passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment