Skip to content

[BUGFIX] fix soundtrays not resizing the same way as windows - #7924

Merged
AbnormalPoof merged 1 commit into
FunkinCrew:preview/public-playtestfrom
kiryvajiravuth:soundtrays
Aug 16, 2026
Merged

[BUGFIX] fix soundtrays not resizing the same way as windows #7924
AbnormalPoof merged 1 commit into
FunkinCrew:preview/public-playtestfrom
kiryvajiravuth:soundtrays

Conversation

@kiryvajiravuth

Copy link
Copy Markdown
Contributor

Linked Issues

closes #7923

Description

Overrode screenCenter() in FunkinSoundTray so the tray:

  • Scales proportionally to the window using FlxG.scaleMode.scale (the same scale factor applied to the game content) preserving its intended size relative to the UI at any window size.
  • Re-centers itself based on the current stageWidth and game offset so it stays perfectly centered after a resize.

Screenshots/Videos

before :

before.mp4

after :

after.mp4

@github-actions github-actions Bot added status: pending triage Awaiting review. size: small A small pull request with 10 or fewer changes. pr: haxe PR modifies game code. labels Aug 12, 2026
@NotHyper-474 NotHyper-474 added the type: minor bug Involves a minor bug or issue. label Aug 12, 2026
@realvirtu

realvirtu commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

i was in the middle of fixing it :obese_cat:

good pr tho

@NotHyper-474 NotHyper-474 added status: reviewing internally Under consideration and testing. and removed status: pending triage Awaiting review. labels Aug 15, 2026
@MAJigsaw77 MAJigsaw77 added status: accepted PR was approved for contribution. If it's not already merged, it may be merged on a private branch. and removed status: reviewing internally Under consideration and testing. labels Aug 15, 2026
@AbnormalPoof
AbnormalPoof merged commit 759c1d3 into FunkinCrew:preview/public-playtest Aug 16, 2026
6 checks passed
@kiryvajiravuth
kiryvajiravuth deleted the soundtrays branch August 16, 2026 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: haxe PR modifies game code. size: small A small pull request with 10 or fewer changes. status: accepted PR was approved for contribution. If it's not already merged, it may be merged on a private branch. type: minor bug Involves a minor bug or issue.

Development

Successfully merging this pull request may close these issues.

6 participants