Dean Herbert
|
d965d39c44
|
Fix distance snap grid circles not correctly being centered on snap point
|
2023-06-16 17:21:32 +09:00 |
|
Dan Balasescu
|
7bc8908ca9
|
Partial everything
|
2022-11-27 00:00:27 +09:00 |
|
Dean Herbert
|
2016d33055
|
Offset start of distance snap grid drawing if reference object's start time doesn't align
Closes #20938.
|
2022-10-26 13:11:26 +09:00 |
|
Dan Balasescu
|
f8830c6850
|
Automated #nullable processing
|
2022-06-17 16:37:17 +09:00 |
|
Dan Balasescu
|
c54ca937c5
|
Fix CI inspections
|
2022-05-12 14:55:20 +09:00 |
|
Dean Herbert
|
f51607521c
|
Fix distance snap providing zero-distance snaps incorrectly
|
2022-05-12 13:11:55 +09:00 |
|
Dean Herbert
|
71758390b5
|
Fix time based distance grid alpha not correctly accounting for distance spacing multiplier
|
2022-05-07 13:37:36 +09:00 |
|
Salman Ahmed
|
723fce8174
|
Move inverting value to happen outside clamp
Looks to have no effect, but makes sense to happen outside instead.
|
2022-05-06 18:54:13 +03:00 |
|
Salman Ahmed
|
d78f1d158d
|
Use GetEndTime() instead of StartTime
Companion to
246479bf34
|
2022-05-06 18:51:35 +03:00 |
|
Salman Ahmed
|
112496204d
|
Make nested class private
|
2022-05-06 18:50:28 +03:00 |
|
Dean Herbert
|
69592722f8
|
Highlight distance snap grid rings that are close to the current time value
|
2022-05-06 18:30:46 +09:00 |
|
Dean Herbert
|
118e58888b
|
Rename incorrectly named variable (radius is not diameter)
|
2022-05-06 17:51:51 +09:00 |
|
Dean Herbert
|
37cbc79283
|
Fix clamping logic to always clamp to the last displayed tick
|
2022-05-06 17:09:38 +09:00 |
|
Dean Herbert
|
246479bf34
|
Fix snap extent not working correctly on sliders (and providing incorrect time values)
|
2022-05-06 15:54:37 +09:00 |
|
Dean Herbert
|
32b40bdabf
|
Rename DistanceBetweenTick to be plural
|
2022-05-06 15:45:36 +09:00 |
|
Dean Herbert
|
b9d8b7e413
|
Fix end time extent not being accounted for in new snap implementation
|
2022-05-05 18:49:12 +09:00 |
|
Dean Herbert
|
b2e9be70a5
|
Rewrite CircularDistanceSnapGrid snapping implementation to use snap provider
|
2022-05-05 17:52:36 +09:00 |
|
Dean Herbert
|
4c884aea5d
|
Fix CircularDistanceSnapGrid returning an incorrect time value when distance spacing is not 1.0
|
2022-05-05 17:09:14 +09:00 |
|
Dean Herbert
|
de9b3d33eb
|
Rename misleading DistanceSpacing variable
|
2022-05-05 17:08:09 +09:00 |
|
Dean Herbert
|
977e6d8a80
|
Add xmldoc for IDistanceSnapProvider and related properties
|
2022-05-05 16:25:45 +09:00 |
|
Dean Herbert
|
d4e5a612ea
|
Update IPositionalSnapProvider to take a HitObject as reference, rather than raw time
This allows fetching the correct `DifficultyControlPoint` from the
hitobject. Nothing more.
|
2021-09-03 17:11:12 +09:00 |
|
Dean Herbert
|
29daabb40a
|
Fix distance snap grid showing incorrect colouring
Now matches timeline colours (based on timing point).
|
2020-01-28 11:59:21 +09:00 |
|
smoogipoo
|
94a298a82d
|
Refactor distance snap grid to not require hitobjects
|
2019-12-10 16:00:09 +09:00 |
|
Berkan Diler
|
fccdbffa93
|
Use MathF instead of Math- functions when possible
MathF-functions are faster than the Math-counterpart and it looks cleaner, so use MathF when we cast to float or int anyway.
|
2019-11-25 00:45:42 +01:00 |
|
Berkan Diler
|
6cab517b2d
|
.NET Standard 2.1 implements Math.Clamp , use it instead of MathHelper.Clamp from osuTK.
|
2019-11-20 13:37:47 +01:00 |
|
smoogipoo
|
020b08b450
|
Initial implementation of limited distance snap
|
2019-11-06 15:27:48 +09:00 |
|
smoogipoo
|
ae011e8ee8
|
Fix distance snap grid test scenes
|
2019-10-25 17:25:46 +09:00 |
|
smoogipoo
|
607b4d874a
|
Refactor flow of snapping through HitObjectComposer
|
2019-10-25 16:40:30 +09:00 |
|
smoogipoo
|
d83b9ef0e4
|
Rename grid snapping methods
|
2019-10-24 18:18:04 +09:00 |
|
Dean Herbert
|
f61d7e4fbe
|
Add smoothing and tidy code a touch
|
2019-10-23 17:56:09 +09:00 |
|
smoogipoo
|
c9fec50f63
|
Remove unnecessary whitespace
|
2019-10-23 17:00:17 +09:00 |
|
smoogipoo
|
97383b4a37
|
Show centre point of distance snap grid
|
2019-10-23 16:58:56 +09:00 |
|
Dean Herbert
|
f92331531c
|
Rename grid to DistanceSnap to be more in line with its purpose
|
2019-10-17 15:32:02 +09:00 |
|