From e0899cb6c2b02d3d6e093c2d767e698ff90d7ac2 Mon Sep 17 00:00:00 2001 From: WorstAquaPlayer Date: Sun, 28 Mar 2021 21:37:05 -0300 Subject: [PATCH] add smoothness to songPosBar --- source/PlayState.hx | 1 + 1 file changed, 1 insertion(+) diff --git a/source/PlayState.hx b/source/PlayState.hx index 7841380..0d00afa 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -1158,6 +1158,7 @@ class PlayState extends MusicBeatState songPosBar = new FlxBar(songPosBG.x + 4, songPosBG.y + 4, LEFT_TO_RIGHT, Std.int(songPosBG.width - 8), Std.int(songPosBG.height - 8), this, 'songPositionBar', 0, songLength - 1000); + songPosBar.numDivisions = 1000; songPosBar.scrollFactor.set(); songPosBar.createFilledBar(FlxColor.GRAY, FlxColor.LIME); add(songPosBar);