You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ClickCasting/Constants.lua
+10-4Lines changed: 10 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -441,22 +441,28 @@ local FRAME_INFO = {
441
441
CC.FRAME_INFO=FRAME_INFO
442
442
443
443
-- Targeting Fallback info (checkboxes - for keyboard/hover bindings)
444
+
-- Shared warning: every fallback below forces the binding's key onto the
445
+
-- PERMANENT global bind list (BuildHovercastSetupScript) — the key then does
446
+
-- this binding everywhere and stops performing its normal action, even away
447
+
-- from the frames. The editor also confirms via ConfirmGlobalKeyCapture when
448
+
-- the key already has a Blizzard binding.
449
+
localGLOBAL_CAPTURE_WARNING=" While enabled, the key is captured everywhere — it performs this binding instead of its normal action, even away from the frames."
444
450
localFALLBACK_INFO= {
445
451
mouseover= {
446
452
name="Global",
447
-
desc="Cast on nameplates or characters in the world. Not needed for party/raid frames.",
453
+
desc="Cast on nameplates or characters in the world. Not needed for party/raid frames."..GLOBAL_CAPTURE_WARNING,
448
454
},
449
455
target= {
450
456
name="Target",
451
-
desc="Cast on your current target if no frame or mouseover unit is found.",
457
+
desc="Cast on your current target if no frame or mouseover unit is found."..GLOBAL_CAPTURE_WARNING,
452
458
},
453
459
selfCast= {
454
460
name="Self",
455
-
desc="Cast on yourself as a last resort if no other valid target is found.",
461
+
desc="Cast on yourself as a last resort if no other valid target is found."..GLOBAL_CAPTURE_WARNING,
456
462
},
457
463
alwaysCast= {
458
464
name="Always Cast",
459
-
desc="If no rule above matches (hovering nothing, or an ineligible unit), cast anyway using the spell's normal targeting. Lets ground-targeted spells show their aiming circle when pressed in the open. If Self is also enabled, Self applies first.",
465
+
desc="If no rule above matches (hovering nothing, or an ineligible unit), cast anyway using the spell's normal targeting. Lets ground-targeted spells show their aiming circle when pressed in the open. If Self is also enabled, Self applies first."..GLOBAL_CAPTURE_WARNING,
0 commit comments