thirdparty: only adjust ktm scale in dockmode

This commit is contained in:
shagu
2019-06-17 23:23:06 +02:00
parent aea9c20f7d
commit a9fe28aaa5
+5 -3
View File
@@ -184,9 +184,6 @@ pfUI:RegisterModule("thirdparty", "vanilla", function ()
if KLHTM_Gui.title then
KLHTM_Gui.title.back:Hide()
end
if KLHTM_Gui.frame then
KLHTM_SetGuiScale(ktm_scale)
end
if KLHTM_Gui.raid then
-- skin rows (raid)
for i in pairs(KLHTM_Gui.raid.rows) do
@@ -276,6 +273,11 @@ pfUI:RegisterModule("thirdparty", "vanilla", function ()
KLHTM_Frame:Hide()
-- adjust scale to match the dock
if KLHTM_Gui.frame then
KLHTM_SetGuiScale(ktm_scale)
end
if pfUI.panel then
pfUI.panel.right.hide:SetScript("OnClick", function()
pfUI.thirdparty.meters:Toggle()