Release 1.4.11

- Fixed stack overflow in copyTable()
- Fixed interaction between weapon swap and skilsl granted by items
- Consolidated list controls using a new base class
This commit is contained in:
Openarl
2017-05-16 19:05:02 +10:00
parent 8a1c666b2d
commit eb91bcbf66
28 changed files with 1282 additions and 1840 deletions

View File

@@ -554,7 +554,7 @@ function buildMode:OnFrame(inputEvents)
self.calcsTab:Draw(tabViewPort, inputEvents)
end
self.unsaved = self.modFlag or self.notesTab.modFlag or self.configTab.modFlag or self.spec.modFlag or self.skillsTab.modFlag or self.itemsTab.modFlag or self.calcsTab.modFlag
self.unsaved = self.modFlag or self.notesTab.modFlag or self.configTab.modFlag or self.treeTab.modFlag or self.spec.modFlag or self.skillsTab.modFlag or self.itemsTab.modFlag or self.calcsTab.modFlag
SetDrawLayer(5)
@@ -651,8 +651,8 @@ function buildMode:OpenSpectreLibrary()
return data.minions[a].name < data.minions[b].name
end
end)
controls.list = common.New("MinionList", nil, -100, 40, 190, 250, destList, true)
controls.source = common.New("MinionList", nil, 100, 40, 190, 250, sourceList, false, controls.list)
controls.list = common.New("MinionList", nil, -100, 40, 190, 250, destList)
controls.source = common.New("MinionList", nil, 100, 40, 190, 250, sourceList, controls.list)
controls.save = common.New("ButtonControl", nil, -45, 300, 80, 20, "Save", function()
self.spectreList = destList
self.modFlag = true