Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ read_globals = {
-- WoW API - Misc
"GetAddOnMetadata",
"InCombatLockdown",
"IsShiftKeyDown",
"ReloadUI",
"UISpecialFrames",

Expand Down
6 changes: 3 additions & 3 deletions conf/frame_conf.lua
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ end
local function ActivateFocused()
local control = focusableControls[currentFocusIndex]
if not control then return end

-- Check if it's a checkbox
if control.GetChecked then
control:Click()
Expand All @@ -291,7 +291,7 @@ end
local function AdjustSlider(direction)
local control = focusableControls[currentFocusIndex]
if not control then return end

-- Only adjust if it's a slider
if control.GetValue and control.SetValue and control.GetMinMaxValues then
local minVal, maxVal = control:GetMinMaxValues()
Expand All @@ -310,7 +310,7 @@ f:SetPropagateKeyboardInput(true)
f:SetScript("OnKeyDown", function(self, key)
-- Only handle keys when frame is visible
if not self:IsVisible() then return end

if key == "TAB" then
self:SetPropagateKeyboardInput(false)
if IsShiftKeyDown() then
Expand Down
2 changes: 1 addition & 1 deletion functions/slash.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ local function PrintStatus()
util.SystemMsg(string.format(L["CMD_STATUS_SCALE"], math.floor(_hybar_user.scale * 100)))
util.SystemMsg(string.format(L["CMD_STATUS_SOUND"], YesNo(_hybar_user.soundEnabled)))
util.SystemMsg(string.format(L["CMD_STATUS_HIGH_CONTRAST"], YesNo(_hybar_user.highContrast)))
util.SystemMsg(string.format(L["CMD_STATUS_POSITION"], _hybar_user.point,
util.SystemMsg(string.format(L["CMD_STATUS_POSITION"], _hybar_user.point,
math.floor(_hybar_user.x_offset), math.floor(_hybar_user.y_offset)))
util.SystemMsg(L["VERSION"])
end
Expand Down