Parallax fix + menu tweak (#10576)

This commit is contained in:
metalgearsloth
2022-08-15 14:16:53 +10:00
committed by GitHub
parent c6c35abb5e
commit 702cfd15e9
3 changed files with 16 additions and 16 deletions

View File

@@ -32,7 +32,7 @@ public sealed class ParallaxControl : Control
foreach (var layer in _parallaxManager.GetParallaxLayers("FastSpace"))
{
var tex = layer.Texture;
var texSize = (tex.Size.X * (int) Size.X, tex.Size.Y * (int) Size.X) * layer.Config.Scale.Floored() / 540;
var texSize = (tex.Size.X * (int) Size.X, tex.Size.Y * (int) Size.X) * layer.Config.Scale.Floored() / 1920;
var ourSize = PixelSize;
var currentTime = (float) _timing.RealTime.TotalSeconds;