mirror of
https://github.com/ppy/osu.git
synced 2024-11-13 16:13:34 +08:00
Use FastCircle in demanding places in the editor
This commit is contained in:
parent
321e509f11
commit
f5a2b5ea03
@ -40,7 +40,7 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders.Components
|
||||
public readonly PathControlPoint ControlPoint;
|
||||
|
||||
private readonly T hitObject;
|
||||
private readonly Circle circle;
|
||||
private readonly FastCircle circle;
|
||||
private readonly Drawable markerRing;
|
||||
|
||||
[Resolved]
|
||||
@ -62,7 +62,7 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders.Components
|
||||
|
||||
InternalChildren = new[]
|
||||
{
|
||||
circle = new Circle
|
||||
circle = new FastCircle
|
||||
{
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
||||
|
@ -105,7 +105,7 @@ namespace osu.Game.Screens.Edit.Components.Timelines.Summary.Parts
|
||||
}
|
||||
}
|
||||
|
||||
private partial class KiaiVisualisation : Circle, IHasTooltip
|
||||
private partial class KiaiVisualisation : FastCircle, IHasTooltip
|
||||
{
|
||||
private readonly double startTime;
|
||||
private readonly double endTime;
|
||||
|
@ -9,7 +9,7 @@ namespace osu.Game.Screens.Edit.Components.Timelines.Summary.Visualisations
|
||||
/// <summary>
|
||||
/// Represents a singular point on a timeline part.
|
||||
/// </summary>
|
||||
public partial class PointVisualisation : Circle
|
||||
public partial class PointVisualisation : FastCircle
|
||||
{
|
||||
public readonly double StartTime;
|
||||
|
||||
|
@ -122,6 +122,7 @@ namespace osu.Game.Screens
|
||||
loadTargets.Add(manager.Load(@"CursorTrail", FragmentShaderDescriptor.TEXTURE));
|
||||
|
||||
loadTargets.Add(manager.Load(VertexShaderDescriptor.TEXTURE_2, "TriangleBorder"));
|
||||
loadTargets.Add(manager.Load(VertexShaderDescriptor.TEXTURE_2, "FastCircle"));
|
||||
|
||||
loadTargets.Add(manager.Load(VertexShaderDescriptor.TEXTURE_3, FragmentShaderDescriptor.TEXTURE));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user