From a9fe28aaa50d5a8dce3755a0854375872b83b235 Mon Sep 17 00:00:00 2001 From: shagu Date: Mon, 17 Jun 2019 23:23:06 +0200 Subject: [PATCH] thirdparty: only adjust ktm scale in dockmode --- modules/thirdparty.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/thirdparty.lua b/modules/thirdparty.lua index 3f288b43..48f7d101 100644 --- a/modules/thirdparty.lua +++ b/modules/thirdparty.lua @@ -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()