8000 Hide unnecessary lines on empty BeatmapInfoWedge by Aergwyn · Pull Request #1720 · ppy/osu · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Hide unnecessary lines on empty BeatmapInfoWedge #1720

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

Merged
merged 9 commits into from
Dec 26, 2017

Conversation

Aergwyn
Copy link
Member
@Aergwyn Aergwyn commented Dec 21, 2017

This bugged me for a while. It hides the unnecessary lines for author and other beatmap stats if there is no real beatmap loaded.

qq

If this is worth exploring I'd also continue on this and look into expanding tests on the BeatmapInfoWedge.

  • extend VisualTests

adding back deleted line

ooops
meh
@Aergwyn Aergwyn force-pushed the hide-useless-beatmap-info branch from 5af4b93 to 214154c Compare December 21, 2017 19:23
@peppy
Copy link
Member
peppy commented Dec 22, 2017

I'd prefer if you avoided references to DummyWorkingBeatmap and just based it on what is present or not present in the WorkingBeatmap itself.

Also further visual tests would be much appreciated in any area of the game (I'm really hoping we can get much more coverage in tests).

determine content by data that is present instead
also fix Author showing when not wanted
1) waiting for loading to finish so Drawables are all present to do asserts on
2) fix NullRef in ResultPage because of removed line in DummyWorkingBeatmap (author one)
@peppy
Copy link
Member
peppy commented Dec 26, 2017

I've checked with flyte and we both agree that the information should not move vertically even if other pieces are not available. It feels very weird switching between beatmaps where the vertical positioning of text fades to a new location

@Aergwyn
Copy link
Member Author
Aergwyn commented Dec 26, 2017

I'm going to look into preventing that then. (Soon™)

@peppy
Copy link
Member
peppy commented Dec 26, 2017

The additional tests added in this PR are useful, at least.

@Aergwyn
Copy link
Member Author
Aergwyn commented Dec 26, 2017

Can you try this? It doesn't move anymore and is only half a pixel off the original position.

@peppy peppy force-pushed the hide-useless-beatmap-info branch from d859ae6 to 3182c22 Compare December 26, 2017 11:36
@peppy peppy merged commit 50bb9d4 into ppy:master Dec 26, 2017
@Aergwyn Aergwyn deleted the hide-useless-beatmap-info branch December 26, 2017 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0