comparison Hansgar_And_Franzok_Assist.lua @ 37:a061f21979d4

- make the dance bar bigger by default.
author Tercio
date Tue, 31 May 2016 17:59:38 -0300
parents 683e8ab34ca7
children 219f04e5ba55
comparison
equal deleted inserted replaced
36:683e8ab34ca7 37:a061f21979d4
344 end 344 end
345 if (db.NO_VERTICAL == nil) then 345 if (db.NO_VERTICAL == nil) then
346 db.NO_VERTICAL = false 346 db.NO_VERTICAL = false
347 end 347 end
348 if (db.DANCE_SIZE == nil) then 348 if (db.DANCE_SIZE == nil) then
349 db.DANCE_SIZE = 6 349 db.DANCE_SIZE = 8
350 end 350 end
351 -- 351 --
352 352
353 f:SetLockState (true) 353 f:SetLockState (true)
354 354
1036 end 1036 end
1037 end 1037 end
1038 1038
1039 function f:SetDanceBarSize (size) 1039 function f:SetDanceBarSize (size)
1040 if (not db.DANCE_SIZE) then 1040 if (not db.DANCE_SIZE) then
1041 db.DANCE_SIZE = 6 1041 db.DANCE_SIZE = 8
1042 end 1042 end
1043 if (not size) then 1043 if (not size) then
1044 size = db.DANCE_SIZE 1044 size = db.DANCE_SIZE
1045 end 1045 end
1046 db.DANCE_SIZE = size 1046 db.DANCE_SIZE = size