Skip to content

Commit 1696bad

Browse files
authored
Merge pull request #6492 from peppy/offset-scroll-position-double
Change `OffsetScrollPosition` to take a `double`
2 parents ffac972 + 8166354 commit 1696bad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

osu.Framework/Graphics/Containers/ScrollContainer.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ protected override bool OnScroll(ScrollEvent e)
418418
/// Immediately offsets the current and target scroll position.
419419
/// </summary>
420420
/// <param name="offset">The scroll offset.</param>
421-
public void OffsetScrollPosition(float offset)
421+
public virtual void OffsetScrollPosition(double offset)
422422
{
423423
Target += offset;
424424
Current += offset;

0 commit comments

Comments
 (0)