mirror of
https://github.com/SK-la/osu-framework.git
synced 2026-03-15 03:20:30 +00:00
Merge pull request #6492 from peppy/offset-scroll-position-double
Change `OffsetScrollPosition` to take a `double`
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user