mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 02:42:54 +08:00
perf: Do not draw sectoins that are less than 1px
This commit is contained in:
parent
21073f3601
commit
578d16f2bc
@ -194,7 +194,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
shader = Source.shader;
|
||||
drawSize = Source.DrawSize;
|
||||
segments.Clear();
|
||||
segments.AddRange(Source.segments);
|
||||
segments.AddRange(Source.segments.Where(s => s.Length * drawSize.X > 1));
|
||||
}
|
||||
|
||||
public override void Draw(IRenderer renderer)
|
||||
|
Loading…
Reference in New Issue
Block a user