From 287c0283c6e8a7be6c22093c8267220a091d8513 Mon Sep 17 00:00:00 2001 From: wutname1 Date: Thu, 3 Aug 2023 10:39:30 -0500 Subject: [PATCH] Bump TOC & remove edit mode code as for some reason part of it exists in wrath now --- Modules/UnitFrames/Framework.lua | 25 ------------------------- SpartanUI.toc | 2 +- SpartanUI_Wrath.toc | 2 +- 3 files changed, 2 insertions(+), 27 deletions(-) diff --git a/Modules/UnitFrames/Framework.lua b/Modules/UnitFrames/Framework.lua index 262e1d7b..a2c427ec 100644 --- a/Modules/UnitFrames/Framework.lua +++ b/Modules/UnitFrames/Framework.lua @@ -158,31 +158,6 @@ function UF:OnEnable() -- Build options UF.Options:Initialize() - if EditModeManagerFrame then - local CheckedItems = {} - local frames = { ['boss'] = 'Boss', ['raid'] = 'Raid', ['arena'] = 'Arena', ['party'] = 'Party' } - for k, v in pairs(frames) do - EditModeManagerFrame.AccountSettings.Settings[v .. 'Frames'].Button:HookScript('OnClick', function(...) - if EditModeManagerFrame.AccountSettings.Settings[v .. 'Frames']:IsControlChecked() then - CheckedItems[k] = v - else - CheckedItems[k] = nil - end - - SUI.MoveIt:MoveIt(k) - end) - end - - EditModeManagerFrame:HookScript('OnHide', function() - for k, v in pairs(CheckedItems) do - EditModeManagerFrame.AccountSettings.Settings[v .. 'Frames']:SetControlChecked(false) - SUI.MoveIt:MoveIt(k) - end - MoveIt.MoverWatcher:Hide() - MoveIt.MoveEnabled = false - end) - end - SUI:AddChatCommand('BuffDebug', function(args) local unit, spellId = strsplit(' ', args) diff --git a/SpartanUI.toc b/SpartanUI.toc index 34ada0bf..90ac7aa7 100644 --- a/SpartanUI.toc +++ b/SpartanUI.toc @@ -1,4 +1,4 @@ -## Interface: 30400 +## Interface: 30402 ## Title: Spartan|cffe21f1fUI ## Notes: User Interface combining elegant artwork with well designed features. ## Version: @project-version@ diff --git a/SpartanUI_Wrath.toc b/SpartanUI_Wrath.toc index 2b04d369..284cbe73 100644 --- a/SpartanUI_Wrath.toc +++ b/SpartanUI_Wrath.toc @@ -1,4 +1,4 @@ -## Interface: 30401 +## Interface: 30402 ## Title: Spartan|cffe21f1fUI ## Notes: User Interface combining elegant artwork with well designed features. ## Version: @project-version@