Skip to content

Commit 133444c

Browse files
committed
Add mousedown option
1 parent b2f6df8 commit 133444c

11 files changed

+12
-2
lines changed

api/config.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,7 @@ function pfUI:LoadConfig()
551551
end
552552

553553
pfUI:UpdateConfig("bars", nil, "keydown", "0")
554+
pfUI:UpdateConfig("bars", nil, "mousedown", "0")
554555
pfUI:UpdateConfig("bars", nil, "altself", "0")
555556
pfUI:UpdateConfig("bars", nil, "rightself", "0")
556557
pfUI:UpdateConfig("bars", nil, "animation", "zoomfade")

env/translations_deDE.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -813,6 +813,7 @@ pfUI_translation["deDE"] = {
813813
["Tracked Reputation"] = nil,
814814
["Tracking Icon Size"] = nil,
815815
["Trigger Actions On Key Down"] = nil,
816+
["Trigger Actions On Mouse Down"] = nil,
816817
["UI-Scale"] = nil,
817818
["Unbuffed"] = nil,
818819
["Unit Frame Border Size"] = nil,

env/translations_enUS.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -813,6 +813,7 @@ pfUI_translation["enUS"] = {
813813
["Tracked Reputation"] = nil,
814814
["Tracking Icon Size"] = nil,
815815
["Trigger Actions On Key Down"] = nil,
816+
["Trigger Actions On Mouse Down"] = nil,
816817
["UI-Scale"] = nil,
817818
["Unbuffed"] = nil,
818819
["Unit Frame Border Size"] = nil,

env/translations_esES.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -813,6 +813,7 @@ pfUI_translation["esES"] = {
813813
["Tracked Reputation"] = "Reputación rastreada",
814814
["Tracking Icon Size"] = "Tamaño del icono de rastreo",
815815
["Trigger Actions On Key Down"] = "Disparar acciones por presionar la tecla abajo",
816+
["Trigger Actions On Mouse Down"] = nil,
816817
["UI-Scale"] = "Escala de IU",
817818
["Unbuffed"] = "Sin beneficios",
818819
["Unit Frame Border Size"] = "Tamaño del borde del marco de unidad",

env/translations_frFR.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -813,6 +813,7 @@ pfUI_translation["frFR"] = {
813813
["Tracked Reputation"] = nil,
814814
["Tracking Icon Size"] = "Taille de l'icône de suivi",
815815
["Trigger Actions On Key Down"] = "Déclencher des actions sur la touche enfoncée",
816+
["Trigger Actions On Mouse Down"] = nil,
816817
["UI-Scale"] = "Echelle de l'interface",
817818
["Unbuffed"] = "Sans Améliorations",
818819
["Unit Frame Border Size"] = "Taille de la bordure des cadres d'unité",

env/translations_koKR.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -813,6 +813,7 @@ pfUI_translation["koKR"] = {
813813
["Tracked Reputation"] = nil,
814814
["Tracking Icon Size"] = nil,
815815
["Trigger Actions On Key Down"] = nil,
816+
["Trigger Actions On Mouse Down"] = nil,
816817
["UI-Scale"] = "UI-크기",
817818
["Unbuffed"] = nil,
818819
["Unit Frame Border Size"] = "유닛프레임 테두리 크기",

env/translations_ruRU.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -813,6 +813,7 @@ pfUI_translation["ruRU"] = {
813813
["Tracked Reputation"] = "Отслеживаемая репутация",
814814
["Tracking Icon Size"] = "Размер иконки отслеживания",
815815
["Trigger Actions On Key Down"] = "Активация действий при нажатии клавиши (а не ее отпускании)",
816+
["Trigger Actions On Mouse Down"] = nil,
816817
["UI-Scale"] = "Масштаб пользовательского интерфейса",
817818
["Unbuffed"] = "Без баффа",
818819
["Unit Frame Border Size"] = "Размер границы окна юнита",

env/translations_zhCN.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -813,6 +813,7 @@ pfUI_translation["zhCN"] = {
813813
["Tracked Reputation"] = "被追踪的声望",
814814
["Tracking Icon Size"] = "追踪图标大小",
815815
["Trigger Actions On Key Down"] = "按下即施法",
816+
["Trigger Actions On Mouse Down"] = nil,
816817
["UI-Scale"] = "UI缩放比例",
817818
["Unbuffed"] = "该Buff缺失者",
818819
["Unit Frame Border Size"] = "头像边框大小",

env/translations_zhTW.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -813,6 +813,7 @@ pfUI_translation["zhTW"] = {
813813
["Tracked Reputation"] = nil,
814814
["Tracking Icon Size"] = "追蹤圖示大小",
815815
["Trigger Actions On Key Down"] = nil,
816+
["Trigger Actions On Mouse Down"] = nil,
816817
["UI-Scale"] = "UI縮放比例",
817818
["Unbuffed"] = "該Buff缺失者",
818819
["Unit Frame Border Size"] = "頭像邊框大小",

modules/actionbar.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1142,8 +1142,8 @@ pfUI:RegisterModule("actionbar", "vanilla:tbc", function ()
11421142
end
11431143
end
11441144

1145-
-- set keydown option
1146-
if C.bars.keydown == "1" then
1145+
-- set mousdown option
1146+
if C.bars.mousedown == "1" then
11471147
f:RegisterForClicks("LeftButtonDown", "RightButtonDown")
11481148
else
11491149
f:RegisterForClicks("LeftButtonUp", "RightButtonUp")

0 commit comments

Comments
 (0)