1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 15:42:54 +08:00

Use relative size for ticks.

This commit is contained in:
smoogipooo 2017-03-28 17:10:01 +09:00
parent 6b1dab5b83
commit 6f66558e29

View File

@ -19,13 +19,13 @@ namespace osu.Game.Modes.Taiko.Objects.Drawable
/// <summary> /// <summary>
/// The size of a tick. /// The size of a tick.
/// </summary> /// </summary>
private const float tick_size = 24; private const float tick_size = TaikoHitObject.CIRCLE_RADIUS / 2;
/// <summary> /// <summary>
/// Any tick that is not the first is not filled, but is displayed /// Any tick that is not the first is not filled, but is displayed
/// as a circle instead. This is what controls the stroke width of that circle. /// as a circle instead. This is what controls the stroke width of that circle.
/// </summary> /// </summary>
private const float tick_border_width = 6; private const float tick_border_width = tick_size / 4;
private readonly DrumRollTick tick; private readonly DrumRollTick tick;