Merge pull request #6492 from peppy/offset-scroll-position-double

Change `OffsetScrollPosition` to take a `double`
This commit is contained in:
Bartłomiej Dach
2025-01-15 09:52:45 +01:00
committed by GitHub

View File

@@ -418,7 +418,7 @@ namespace osu.Framework.Graphics.Containers
/// Immediately offsets the current and target scroll position.
/// </summary>
/// <param name="offset">The scroll offset.</param>
public void OffsetScrollPosition(float offset)
public virtual void OffsetScrollPosition(double offset)
{
Target += offset;
Current += offset;