Shestak UI
Go Back   Shestak UI > Interface Forums > English Community > Bugs Reports

Bugs Reports Report any bugs or issues you come across with ShestakUI.

Advertising

 
Thread Tools
Old 24.07.2016, 09:04   #1
 Elder Member User Information

cszsjm's Avatar
Bug DBM skinning

Excuse me for my poor english.
when I use shestak's DBM skinning I can't move DBM's timing bar.
When I move it ,after a few minutes it will be return to initial position .
Can you solve it for me? thank you !
Old 24.07.2016, 09:04   #1.5 - Disable Ads

Advertise on this site

Old 24.07.2016, 10:27   #2
Nera
 Elder Member User Information

Nera's Avatar
i've got same problem maybe a year ago, the thing is that dbm skinning by shestakui is done for rly rly rly old version of it and it needs update (mainly because most of 'options' in .lua file are no longer in dbm and so on), it just manually sets (\ShestakUI\Modules\Skins\DBM.lua) all positions for bars, so you have to change it by yourself (e.g. )
Code [Select]:
 l. 338: DBT_AllPersistentOptions["Default"]["DBM"].TimerX = 143
Old 31.07.2016, 22:46   #3
Tryllemann
 Assistant User Information

Tryllemann's Avatar
Question

The dbm.lua file holds 2 parts.
Part 1 - Setting up the looks (border, texture, fonts and so on)
Part 2 - Setting up positions for all the bars, warnings and so on.

The dbm skin is updated for current version always.
It's simply that all settings defined from addon, and everytime the addon triggers based on event, it will add settings back.

Maybe create a /move frame to ancher to instead of uof_player frame.

Posted in 119 hours 27 minute
Looked into this some.
Should add a option do turn off auto positions, and let users use the move function inside DBM.
Can throw inn a position into
lua Code [Select]:
function T.UploadDBM()
that doesn't crash with portrait
Says Thank:
Shestak (29.07.2016), Wetxius (27.07.2016)
Old 01.08.2016, 09:23   #4
Wetxius
 Assistant User Information

Wetxius's Avatar
It should not auto change DBM setings with this check
https://github.com/Shestak/ShestakUI....lua#L392-L394
Maybe this line not work.

Добавлено через 1 час 32 минуты
Seems that I find solution. http://pastebin.com/QbtLRY8w
Reanchored bars when enable/disable portrait or enable/disable right icon.
Old 01.08.2016, 11:01   #5
Tryllemann
 Assistant User Information

Tryllemann's Avatar
Why not just add a C.unitframe.movable_dbm or C.skins.dbm_movable, and set default to false. And add it to bar.ApplyPosition = function()

lua Code [Select]:
bar.ApplyPosition = function()
                        if C.unitframe.enable ~= true then return end
                        if C.skins.dbm_movable == true then return end
                        self.mainAnchor:ClearAllPoints()
                        if C.unitframe.portrait_enable == true then
                            if bar.owner.options.IconRight then
                                self.mainAnchor:SetPoint("BOTTOMRIGHT", "oUF_Player", "BOTTOMLEFT", -(138 + C.unitframe.portrait_width), -69)
                            else
                                self.mainAnchor:SetPoint("BOTTOMRIGHT", "oUF_Player", "BOTTOMLEFT", -(110 + C.unitframe.portrait_width), -69)
                            end
                        else
                            if bar.owner.options.IconRight then
                                self.mainAnchor:SetPoint("BOTTOMRIGHT", "oUF_Player", "BOTTOMLEFT", -131, -69)
                            else
                                self.mainAnchor:SetPoint("BOTTOMRIGHT", "oUF_Player", "BOTTOMLEFT", -103, -69)
                            end
                        end
                    end
                    bar:ApplyPosition()
This way players can toggle it easier.
When ever turned on it will be movable, or move to last user placed position.
When turned off, it's anchored as normal.
Say Thank:
Wetxius (01.08.2016)
Old 01.08.2016, 11:26   #6
Wetxius
 Assistant User Information

Wetxius's Avatar
Added https://github.com/Shestak/ShestakUI...ff9011ddba6d84.
Says Thank:
Shestak (02.08.2016), Tryllemann (01.08.2016)
Old 13.08.2016, 17:44   #7
F5Hellbound
 Elder Member User Information

F5Hellbound's Avatar
Question DBM Skinning Bug/Broken ?

Today i was in HFC and the DBM Timer Bars was not correct.

pls check this ....

see pic



.... I'm so sorry it is my mistake ....

/closed
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_081316_130037.jpg
Views:	45
Size:	19.9 KB
ID:	727  

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Fixed] Arena Queue Skinning Lanseb Bugs Reports 1 27.03.2015 16:03
[Fixed] New Collection Tab skinning Tryllemann Bugs Reports 2 01.03.2015 16:07
[Out of date] Totem Bar Skinning Mondays Skinning 2 12.11.2010 03:10
[Fixed] Skinning Files - Error with 2.4 Tkmstr1009 Bugs Reports 6 12.08.2010 18:29


Mobile Style Русский English Deutsch Italian Chinese