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:
NoM0Re
2025-01-04 19:33:14 +01:00
committed by GitHub
parent a62d8f352e
commit 86e98d6bcf
47 changed files with 1582 additions and 679 deletions
+4
View File
@@ -837,6 +837,10 @@ local function modify(parent, region, data)
if self.suspended > 0 then
self.suspended = self.suspended - 1
end
region:RunDelayedActions()
end
function region:RunDelayedActions()
if not self:IsSuspended() then
if self.needToReload then
self:ReloadControlledChildren()
+5 -2
View File
@@ -140,8 +140,11 @@ local function modify(parent, region, data)
if(region.height ~= height) then
region.height = height
region:SetHeight(height)
if(data.parent and WeakAuras.regions[data.parent].region.PositionChildren) then
WeakAuras.regions[data.parent].region:PositionChildren();
if data.parent then
Private.EnsureRegion(data.parent)
if WeakAuras.regions[data.parent].region.PositionChildren then
WeakAuras.regions[data.parent].region:PositionChildren()
end
end
end
end