Skip to content

Commit

Permalink
minimap icon error and shortened table keys
Browse files Browse the repository at this point in the history
- fixed lua error (detected on classic wrath) when the mouse leaves Skada's minimap button.
- shortened Auras and CC modules table keys.
- update zhCN thanks to @justinqian42
- small checks and changes.
  • Loading branch information
bkader committed Jan 19, 2023
1 parent 724585d commit aeae07c
Show file tree
Hide file tree
Showing 7 changed files with 188 additions and 183 deletions.
7 changes: 6 additions & 1 deletion Skada/Core/Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1881,6 +1881,11 @@ function Skada:CanReset()
end

local sets = self.sets

if not sets then
return false
end

for i = 1, #sets do
local set = sets[i]
if set and not set.keep then
Expand Down Expand Up @@ -2115,7 +2120,7 @@ function dataobj:OnEnter()
end

function dataobj:OnLeave()
self.tooltip:Hide()
(self.tooltip or GameTooltip):Hide()
end

function dataobj:OnClick(button)
Expand Down
1 change: 1 addition & 0 deletions Skada/Core/Options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Skada.windowdefaults = {
borderthickness = 2,
borderinsets = 0,
toolbar = 1,
toolbaropacity = 0.5,
spacing = 1
},
background = {
Expand Down
114 changes: 57 additions & 57 deletions Skada/Locales/zhCN.lua

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Skada/Locales/zhTW.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
local L = LibStub("AceLocale-3.0"):NewLocale(..., "zhTW")
if not L then return end

L["A damage meter."] = "一個傷害統計"
L["A damage meter."] = "模組化的傷害統計"
L["Memory usage is high. You may want to reset Skada, and enable one of the automatic reset options."] = "記憶體使用過高,你或許想要重置Skada,並且啟用一個自動重設的選項。"
L["Skada is out of date. You can download the newest version from \124cffffbb00%s\124r"] = "Skada 已過期. 你可以在 \124cffffbb00%s\124r 下載到最新的版本."
L["Skada: Modes"] = "Skada:模組"
Expand Down
Loading

0 comments on commit aeae07c

Please sign in to comment.