Version 0.996 beta, small bug fixes

This commit is contained in:
OTCv8 2019-10-16 00:32:37 +02:00
parent c477637a46
commit 5e76deebac
9 changed files with 319 additions and 316 deletions

View File

@ -402,7 +402,7 @@ end
function prepareKeyCombo(keyCombo) function prepareKeyCombo(keyCombo)
local hotKey = hotkeyList[keyCombo] local hotKey = hotkeyList[keyCombo]
if keyCombo:lower():find("ctrl") and not hotKey or (hotKey.itemId == nil and (not hotKey.value or #hotKey.value == 0)) then if keyCombo:lower():find("ctrl") or not hotKey or (hotKey.itemId == nil and (not hotKey.value or #hotKey.value == 0)) then
keyCombo = keyCombo:gsub("Ctrl%+", "") keyCombo = keyCombo:gsub("Ctrl%+", "")
keyCombo = keyCombo:gsub("ctrl%+", "") keyCombo = keyCombo:gsub("ctrl%+", "")
hotKey = hotkeyList[keyCombo] hotKey = hotkeyList[keyCombo]

View File

@ -334,6 +334,9 @@ end
function onVipStateChange(id, state) function onVipStateChange(id, state)
local vipList = vipWindow:getChildById('contentsPanel') local vipList = vipWindow:getChildById('contentsPanel')
local label = vipList:getChildById('vip' .. id) local label = vipList:getChildById('vip' .. id)
if not label then
return
end
local name = label:getText() local name = label:getText()
local description = label:getTooltip() local description = label:getTooltip()
local iconId = label.iconId local iconId = label.iconId

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.