Skip to content

Commit

Permalink
Merge pull request #107 from MaxKruse/update-readme
Browse files Browse the repository at this point in the history
Update docs + version
  • Loading branch information
tybug authored Jan 28, 2023
2 parents 001b796 + 4da59b0 commit 4fa06fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setup(
name='slider',
version='0.6.0',
version='0.7.0',
description='Utilities for working with osu! files and data',
author='Joe Jevnik',
author_email='[email protected]',
Expand Down
5 changes: 5 additions & 0 deletions slider/beatmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,11 @@ def tick_points(self):

@lazyval
def true_tick_points(self):
"""The position and time of each slider tick. This accounts for
the legacy last tick offset.
See also https://github.com/ppy/osu/blob/5a1940facf2649bc6b2892965c27b8
c62a41988f/osu.Game/Rulesets/Objects/SliderEventGenerator.cs#L71-L93"""
tick_points = self.tick_points
# curve() takes in a percentage of how far along we want the point.
# Take away the offset from the total length of the slider to get
Expand Down

0 comments on commit 4fa06fa

Please sign in to comment.