Mercurial > wow > devian
comparison UI.lua @ 58:0a9a6740ea5d v2.1
- Discarded use of blizzard functions never meant for the wild (http://forums.wowace.com/showthread.php?t=20397)
- Fixed dock buttons not highlighting properly
- Fixed dock buttons not dropping after selection change
- Mouse input is disabled during player movement
| author | Nenue |
|---|---|
| date | Tue, 12 Jan 2016 04:50:37 -0500 |
| parents | 1b8c597dba44 |
| children | 59e047d6c5de |
comparison
equal
deleted
inserted
replaced
| 57:0d2967941745 | 58:0a9a6740ea5d |
|---|---|
| 71 db.current_channel = c.index | 71 db.current_channel = c.index |
| 72 | 72 |
| 73 -- update dock buttons | 73 -- update dock buttons |
| 74 local beacon = D.dock.buttons[c.index] | 74 local beacon = D.dock.buttons[c.index] |
| 75 beacon.selected = true | 75 beacon.selected = true |
| 76 beacon.newMessage = nil | |
| 76 D.UpdateBeacon(beacon) | 77 D.UpdateBeacon(beacon) |
| 77 | 78 |
| 78 for _, part in pairs(c.border) do | 79 for _, part in pairs(c.border) do |
| 79 part:SetTexture(unpack(db.frontborder)) | 80 part:SetTexture(unpack(db.frontborder)) |
| 80 end | 81 end |
| 87 bc.out.backdrop:SetBlendMode(db.backblend) | 88 bc.out.backdrop:SetBlendMode(db.backblend) |
| 88 bc.dropmenu.icon:SetVertexColor(unpack(db.backheader)) | 89 bc.dropmenu.icon:SetVertexColor(unpack(db.backheader)) |
| 89 bc.title:SetTextColor(unpack(db.backborder)) | 90 bc.title:SetTextColor(unpack(db.backborder)) |
| 90 | 91 |
| 91 local beacon = D.dock.buttons[bc.index] | 92 local beacon = D.dock.buttons[bc.index] |
| 93 beacon.raised = nil | |
| 94 beacon.showName = nil | |
| 92 beacon.selected = nil | 95 beacon.selected = nil |
| 93 D.UpdateBeacon(beacon) | 96 D.UpdateBeacon(beacon) |
| 94 | 97 |
| 95 for _, part in pairs(bc.border) do | 98 for _, part in pairs(bc.border) do |
| 96 part:SetTexture(unpack(db.backborder)) | 99 part:SetTexture(unpack(db.backborder)) |
