Mercurial > wow > worldplan
comparison WorldQuests.lua @ 61:a133ee697ca2
- hide text regions directly when their associated pin has been removed from the map
- and time left regions
| author | Nick@Zahhak |
|---|---|
| date | Wed, 08 Feb 2017 13:11:07 -0500 |
| parents | 3d8e83ddf603 |
| children | abcdef801db5 |
comparison
equal
deleted
inserted
replaced
| 60:3d8e83ddf603 | 61:a133ee697ca2 |
|---|---|
| 259 end | 259 end |
| 260 db.TasksByID[id] = nil | 260 db.TasksByID[id] = nil |
| 261 end | 261 end |
| 262 pin:SetShown(false) | 262 pin:SetShown(false) |
| 263 pin.Overlay:SetShown(false) | 263 pin.Overlay:SetShown(false) |
| 264 pin.timeLabel:SetShown(false) | |
| 264 tinsert(db.FreePins, pin) | 265 tinsert(db.FreePins, pin) |
| 265 | 266 |
| 266 print('|cFF00FF00-'.. (pin.mapID and GetMapNameByID(pin.mapID) or '???') ..'|r', id, pin.title) | 267 print('|cFF00FF00-'.. (pin.mapID and GetMapNameByID(pin.mapID) or '???') ..'|r', id, pin.title) |
| 267 end | 268 end |
| 268 | 269 |
