/ potential scrollbar crash, will need refactor of filter wheel scrollbar somewhat

This commit is contained in:
FajsiEx 2021-11-20 23:14:55 +01:00
parent d13fa08842
commit 5208a30bdb
1 changed files with 2 additions and 0 deletions

View File

@ -271,6 +271,8 @@ function drawScrollbar()
local total = game.GetSkinSetting('_songWheelScrollbarTotal') local total = game.GetSkinSetting('_songWheelScrollbarTotal')
local index = game.GetSkinSetting('_songWheelScrollbarIndex') local index = game.GetSkinSetting('_songWheelScrollbarIndex')
if (index == nil) then return end;
gfx.BeginPath() gfx.BeginPath()
local fillW = 27*0.85 local fillW = 27*0.85
local fillH = 65*0.85 local fillH = 65*0.85