Skip to content

Commit 5bd66a7

Browse files
committed
Tooltips for filter buttons
1 parent 8e47c21 commit 5bd66a7

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/Modules/Build.lua

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1563,9 +1563,10 @@ function buildMode:OpenSpectreLibrary()
15631563
checkbox.shown = true
15641564
controls[controlName] = checkbox
15651565
end
1566-
controls.sortMonsterCheckboxShowAll = new("CheckBoxControl", {"TOPLEFT", controls.source, "BOTTOMLEFT"}, {173, 2, 26, 26}, "", monsterTypeCheckboxChange("recommendedList"), "Show All Spectres", false)
1567-
controls.sortMonsterCheckboxFilterCorpse = new("CheckBoxControl", {"TOPLEFT", controls.source, "BOTTOMLEFT"}, {12, 2, 26, 26}, "", monsterTypeCheckboxChange("corpseList"), "Only show Corpses", false)
1568-
controls.showAllLabel = new("LabelControl", {"RIGHT",controls.sortMonsterCheckboxShowAll,"LEFT"}, {-5, 0, 0, 16}, "Show All Spectres:")
1566+
controls.sortMonsterCheckboxShowAll = new("CheckBoxControl", {"TOPLEFT", controls.source, "BOTTOMLEFT"}, {184, 2, 26, 26}, "", monsterTypeCheckboxChange("recommendedList"), "By default only recommended Spectres are shown.\nEnable this box to show all Spectres.", false)
1567+
controls.sortMonsterCheckboxFilterCorpse = new("CheckBoxControl", {"TOPLEFT", controls.source, "BOTTOMLEFT"}, {89, 2, 26, 26}, "", monsterTypeCheckboxChange("corpseList"), "Hide Spectres found in Acts or Maps and only show\nItemised Corpses obtainable through trade or Rituals.", false)
1568+
controls.showOnlyCorpseLabel = new("LabelControl", {"RIGHT",controls.sortMonsterCheckboxFilterCorpse,"LEFT"}, {-5, 0, 0, 16}, "Corpse Only:")
1569+
controls.showAllLabel = new("LabelControl", {"RIGHT",controls.sortMonsterCheckboxShowAll,"LEFT"}, {-5, 0, 0, 16}, "Show All:")
15691570
controls.save = new("ButtonControl", nil, {-45, 420, 80, 20}, "Save", function()
15701571
self.spectreList = destList
15711572
self.modFlag = true

0 commit comments

Comments
 (0)