Skip to content

Commit

Permalink
Update ui.lua
Browse files Browse the repository at this point in the history
Fix hotkey issue
  • Loading branch information
fdsprod authored Jun 16, 2017
1 parent 016c326 commit 949bf64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/Scripts/twitch/ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function UI:new()
ui.vsScroll.onChange = ui.onChange_vsScroll
ui.eMessage.onChange = ui.onChange_eMessage

if hideShowHotkey and hideShowHotkey ~= "NONE" then
if hideShowHotkey and hideShowHotkey ~= "" and hideShowHotkey ~= "NONE" then
ui.window:addHotKeyCallback(hideShowHotkey, function() ui:nextMode() end)
end

Expand Down

0 comments on commit 949bf64

Please sign in to comment.