Skip to content

Commit 828079f

Browse files
committed
Fixes for actionbuttonusekeydown 0
1 parent 7dd23e5 commit 828079f

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

LiteAssist.lua

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,6 @@ end
358358

359359
function LiteAssist_LearnPreClick(self, inputButton, isDown)
360360

361-
if isDown ~= GetCVarBool("ActionButtonUseKeyDown") then return end
362-
363361
local fromtoken = self:GetAttribute("X-realunit")
364362

365363
DebugMsg("PreClick handler called for unit id "..fromtoken)
@@ -486,4 +484,3 @@ function LiteAssist_OnUpdate(self, elapsed)
486484
SetOnTarget(false)
487485
TimeSinceLastUpdate = 0
488486
end
489-

LiteAssist.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
- The configuration of that is done in the OnLoad handler.
2121
-->
2222

23-
<Button name="LiteAssistDo" inherits="SecureActionButtonTemplate" />
24-
<Button name="LiteAssistMB" inherits="SecureActionButtonTemplate" />
23+
<Button name="LiteAssistDo" inherits="SecureActionButtonTemplate" hidden="true" />
24+
<Button name="LiteAssistMB" inherits="SecureActionButtonTemplate" hidden="true" />
2525

2626
<!--
2727
- These two buttons learn a new assist unit (MA, whatever).

0 commit comments

Comments
 (0)