Update general layout of WeakAurasOptions (#8)
* from retail * (fix) improve pixel snapping by reapplying borders * update spinbox texture * add icons, loaded, standby, unloaded behavior from retail * further use of ported inputbox and cleanup to ported frames * move templates into WeakAuras and upversion
This commit is contained in:
@@ -936,7 +936,7 @@ end
|
||||
local function CreateSetAll(subOption, getAll)
|
||||
return function(data, info, ...)
|
||||
OptionsPrivate.Private.pauseOptionsProcessing(true);
|
||||
OptionsPrivate.Private.PauseAllDynamicGroups()
|
||||
local suspended = OptionsPrivate.Private.PauseAllDynamicGroups()
|
||||
local before = getAll(data, info, ...)
|
||||
for child in OptionsPrivate.Private.TraverseLeafs(data) do
|
||||
local childOptions = OptionsPrivate.EnsureOptions(child, subOption)
|
||||
@@ -974,7 +974,7 @@ local function CreateSetAll(subOption, getAll)
|
||||
end
|
||||
end
|
||||
|
||||
OptionsPrivate.Private.ResumeAllDynamicGroups()
|
||||
OptionsPrivate.Private.ResumeAllDynamicGroups(suspended)
|
||||
OptionsPrivate.Private.pauseOptionsProcessing(false);
|
||||
OptionsPrivate.Private.ScanForLoads();
|
||||
OptionsPrivate.SortDisplayButtons(nil, true);
|
||||
|
||||
Reference in New Issue
Block a user