mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 01:22:59 +08:00
Fix video playback is stretched on client resize
This commit is contained in:
parent
ac6fffd834
commit
9a94405b3a
@ -59,8 +59,12 @@ namespace osu.Game.Screens.Play
|
||||
RelativeSizeAxes = Axes.Both;
|
||||
Masking = true;
|
||||
|
||||
AddInternal(video);
|
||||
video.RelativeSizeAxes = Axes.Both;
|
||||
video.FillMode = FillMode.Fill;
|
||||
video.Anchor = Anchor.Centre;
|
||||
video.Origin = Anchor.Centre;
|
||||
|
||||
AddInternal(video);
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
|
Loading…
Reference in New Issue
Block a user