8000 Add shear-aligning drawable wrapper by frenzibyte · Pull Request #32841 · ppy/osu · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add shear-aligning drawable wrapper #32841

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 1 commit into from
Apr 22, 2025

Conversation

frenzibyte
Copy link
Member

This implementation has been slightly altered to make sense. The version in the above PR was applying padding from the left instead, and there's a reason behind that and why it works but I can understand that it's counter-intuitive (and/or completely backwards).

The purpose of this component is to be able to align multiple drawables in a vertical line while each one has sheared background and the sheared background is aligned correctly at the end.

Demonstrative video:

CleanShot.2025-04-18.at.06.27.52.mp4

@frenzibyte frenzibyte force-pushed the song-select-v2-shear-aligning-wrapper branch from 762bf8f to f480765 Compare April 18, 2025 10:32
@peppy
Copy link
Member
peppy commented Apr 22, 2025

The version in the above PR was applying padding from the left instead

I think you mean "right"?

@peppy peppy merged commit 4bc6b9b into ppy:master Apr 22, 2025
10 checks passed
@frenzibyte
Copy link
Member Author

Right I mixed it up, previous implementation applied padding from the right, now it's from the left instead, as one logically expects.

@frenzibyte frenzibyte deleted the song-select-v2-shear-aligning-wrapper branch April 22, 2025 12:04
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