mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
fixt: skins module for consistent UI element styling
This commit is contained in:
@@ -244,6 +244,7 @@ function S:HandleNextPrevButton(btn, useVertical, inverseDirection)
|
||||
end
|
||||
|
||||
function S:HandleRotateButton(btn)
|
||||
if not btn then return end
|
||||
E:SetTemplate(btn, "Default")
|
||||
E:Size(btn, btn:GetWidth() - 14, btn:GetHeight() - 14)
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
- **Fix:** Wrapped `SetParent` in `pcall` within `CreateBackdrop` to prevent crashes on non-UI object dummy tables.
|
||||
- **Fix:** Added graceful `nil` fallbacks to `E:Point`, `E:Size`, `E:Width`, and `E:Height` layout anchors, immunizing the UI against crashes when Turtle WoW or other addons delete elements.
|
||||
- **Fix:** Rewrote `Misc.lua` options skinning loops using `pairs()` to resolve Lua 5.0 `attempt to call a nil value` crashes caused by missing options tabs/sliders/checkboxes.
|
||||
- **Fix:** Added element existence checks in `Skins.lua` `HandleButton` to skip skinning gracefully instead of crashing on `nil`.
|
||||
- **Fix:** Added element existence checks in `Skins.lua` `HandleButton` and `HandleRotateButton` to skip skinning gracefully instead of crashing on `nil`.
|
||||
|
||||
This is the backported version of ElvUI for World of Warcraft - Vanilla (1.12.1)
|
||||
<br />
|
||||
|
||||
Reference in New Issue
Block a user