mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 01:47:30 +09: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;
|
RelativeSizeAxes = Axes.Both;
|
||||||
Masking = true;
|
Masking = true;
|
||||||
|
|
||||||
AddInternal(video);
|
|
||||||
video.RelativeSizeAxes = Axes.Both;
|
video.RelativeSizeAxes = Axes.Both;
|
||||||
|
video.FillMode = FillMode.Fill;
|
||||||
|
video.Anchor = Anchor.Centre;
|
||||||
|
video.Origin = Anchor.Centre;
|
||||||
|
|
||||||
|
AddInternal(video);
|
||||||
}
|
}
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user