<commit_before>﻿// Copyright (c) 2007-2017 ppy Pty Ltd <<EMAIL>>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE

using OpenTK.Input;
using osu.Game.Modes.Taiko.Judgements;
using System;
using osu.Game.Modes.Objects.Drawables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using OpenTK;
using OpenTK.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Transforms;

namespace osu.Game.Modes.Taiko.Objects.Drawable
{
    public class DrawableDrumRollTick : DrawableTaikoHitObject
    {
        /// <summary>
        /// The size of a tick.
        /// </summary>
        private const float tick_size = 24;
        
        /// <summary>
        /// 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.
        /// </summary>
        private const float tick_border_width = 6;

        private readonly DrumRollTick tick;

        private readonly CircularContainer bodyContainer;
<commit_msg>Use relative size for ticks.<commit_after>﻿// Copyright (c) 2007-2017 ppy Pty Ltd <<EMAIL>>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE

using OpenTK.Input;
using osu.Game.Modes.Taiko.Judgements;
using System;
using osu.Game.Modes.Objects.Drawables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using OpenTK;
using OpenTK.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Transforms;

namespace osu.Game.Modes.Taiko.Objects.Drawable
{
    public class DrawableDrumRollTick : DrawableTaikoHitObject
    {
        /// <summary>
        /// The size of a tick.
        /// </summary>
        private const float tick_size = TaikoHitObject.CIRCLE_RADIUS / 2;
        
        /// <summary>
        /// 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.
        /// </summary>
        private const float tick_border_width = tick_size / 4;

        private readonly DrumRollTick tick;

        private readonly CircularContainer bodyContainer;

{'fraction_non_alphanumeric': 0.09699146834306241, 'fraction_numerical': 0.009429726088908847, 'mean_word_length': 2.8347676419965575, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5904718', 'n_tokens_mistral': 687, 'n_tokens_neox': 643, 'n_words': 194}