Comments (4)
This problem actually shows up in a few places in the UI. I'm planning to submit a pull request to fix it but I haven't had much time for WoW lately, unfortunately.
The fix for this specific case is to have tbar
inherit from BackdropTemplateMixin
, e.g., Mixin(tbar, BackdropTemplateMixin)
:
if IsAddOnLoaded("DBM-Core") then
hooksecurefunc(DBT, "CreateBar", function(self)
for bar in self:GetBarIterator() do
local frame = bar.frame
local tbar = _G[frame:GetName().."Bar"]
local spark = _G[frame:GetName().."BarSpark"]
--local texture = _G[frame:GetName().."BarTexture"]
local icon1 = _G[frame:GetName().."BarIcon1"]
local icon2 = _G[frame:GetName().."BarIcon2"]
local name = _G[frame:GetName().."BarName"]
local timer = _G[frame:GetName().."BarTimer"]
spark:SetTexture(nil)
timer:ClearAllPoints()
timer:SetPoint("RIGHT", tbar, "RIGHT", -4, 0)
timer:SetFont(STANDARD_TEXT_FONT, 22)
timer:SetJustifyH("RIGHT")
name:ClearAllPoints()
name:SetPoint("LEFT", tbar, 4, 0)
name:SetPoint("RIGHT", timer, "LEFT", -4, 0)
name:SetFont(STANDARD_TEXT_FONT, 15)
Mixin(tbar, BackdropTemplateMixin)
tbar:CreateBeautyBorder(10)
tbar:SetBeautyBorderPadding(tbar:GetHeight() + 3, 2, 2, 2, tbar:GetHeight() + 3, 2, 2, 2)
tbar:SetBackdrop({bgFile = "Interface\\Buttons\\WHITE8x8"})
tbar:SetBackdropColor(0, 0, 0, 0.5)
icon1:SetTexCoord(0.07, 0.93, 0.07, 0.93)
icon1:SetSize(tbar:GetHeight(), tbar:GetHeight() - 1)
icon2:SetTexCoord(0.07, 0.93, 0.07, 0.93)
icon2:SetSize(tbar:GetHeight(), tbar:GetHeight() - 1)
end
end)
end
from neavui.
Yep, that did it. Thank you!
from neavui.
Fixed by GH-307 (thanks @jsimpson)
from neavui.
I'm using BigWigs Bossmods, which probably why this has gone unnoticed. I suspect that it's not only the DBM skinning that suffers from this, unfortunately.
from neavui.
Related Issues (20)
- nTooltip Double Backgrounds HOT 5
- nPower\core.lua:13: attempt to perform arithmetic on local 'start' (a nil value) HOT 8
- Dressing Room naked fix HOT 1
- oUF_MovableFrames: attempt to call method 'SetBackdrop' (a nil value)
- nCore: attempt to perform arithmetic on local 'leftX' (a nil value)
- Option to reduce the number of groups (raid container)
- Slash /neav command to move stuff around not working HOT 1
- npower ERROR HOT 2
- nMinimap: Fix for Garrison button HOT 1
- nMainbar not showing keybinds HOT 2
- nMainbar error HOT 2
- nMinimap, empty error
- Binding for nMainbar is broken
- Mage's arcane charges shows for all specs
- Missing Aura Updates for SL
- Can't click on FakeBottomRightBar when ExtraActionBar is active HOT 1
- It's time to update version 9.1 HOT 2
- look forward to a version for wotlk classic
- It's time to update version for 10.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neavui.