From c8eae6fd866e1506bcd16b754a1ae022de1857a6 Mon Sep 17 00:00:00 2001 From: Andrei Zavatski Date: Fri, 18 Jul 2025 12:46:21 +0300 Subject: [PATCH] Move xmldoc to correct place --- .../Timelines/Summary/Parts/MarkerPart.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/osu.Game/Screens/Edit/Components/Timelines/Summary/Parts/MarkerPart.cs b/osu.Game/Screens/Edit/Components/Timelines/Summary/Parts/MarkerPart.cs index 14d5393780..057a6b63ab 100644 --- a/osu.Game/Screens/Edit/Components/Timelines/Summary/Parts/MarkerPart.cs +++ b/osu.Game/Screens/Edit/Components/Timelines/Summary/Parts/MarkerPart.cs @@ -107,6 +107,13 @@ namespace osu.Game.Screens.Edit.Components.Timelines.Summary.Parts [BackgroundDependencyLoader] private void load(OverlayColourProvider colours) => Colour = colours.Highlight1; + /// + /// Triangles drawn at the top and bottom of . + /// + /// + /// Since framework-side triangles don't support antialiasing we are using custom implementation involving shaders to avoid mismatch + /// in antialiasing between top and bottom triangles when drawable moves across the screen. + /// private partial class VerticalTriangles : Sprite { [BackgroundDependencyLoader] @@ -118,13 +125,6 @@ namespace osu.Game.Screens.Edit.Components.Timelines.Summary.Parts protected override DrawNode CreateDrawNode() => new VerticalTrianglesDrawNode(this); - /// - /// Triangles drawn at the top and bottom of . - /// - /// - /// Since framework-side triangles don't support antialiasing we are using custom implementation involving shaders to avoid mismatch - /// in antialiasing between top and bottom triangles when drawable moves across the screen. - /// private class VerticalTrianglesDrawNode : SpriteDrawNode { private const float aa = 1.5f; // across how many pixels antialiasing is being applied