@@ -143,7 +143,7 @@ local TreeTabClass = newClass("TreeTab", "ControlHost", function(self, build)
143
143
t_insert (self .treeVersions , value )
144
144
end
145
145
self .controls .versionText = new (" LabelControl" , { " LEFT" , self .controls .reset , " RIGHT" }, { 8 , 0 , 0 , 16 }, " Version:" )
146
- self .controls .versionSelect = new (" DropDownControl" , { " LEFT" , self .controls .versionText , " RIGHT" }, { 8 , 0 , 100 , 20 }, self .treeVersions , function (index , selected )
146
+ self .controls .versionSelect = new (" DropDownControl" , { " LEFT" , self .controls .versionText , " RIGHT" }, { 8 , 0 , 60 , 20 }, self .treeVersions , function (index , selected )
147
147
if selected .value ~= self .build .spec .treeVersion then
148
148
self :OpenVersionConvertPopup (selected .value , true )
149
149
end
@@ -162,12 +162,13 @@ local TreeTabClass = newClass("TreeTab", "ControlHost", function(self, build)
162
162
163
163
self .tradeLeaguesList = { }
164
164
-- Find Timeless Jewel Button
165
- self .controls .findTimelessJewel = new (" ButtonControl" , { " LEFT" , self .controls .treeSearch , " RIGHT" }, { 8 , 0 , 150 , 20 }, " Find Timeless Jewel" , function ()
166
- self :FindTimelessJewel ()
167
- end )
165
+ -- Add button back if/when we figure out how to serch for them again
166
+ -- self.controls.findTimelessJewel = new("ButtonControl", { "LEFT", self.controls.treeSearch, "RIGHT" }, { 8, 0, 150, 20 }, "Find Timeless Jewel", function()
167
+ -- self:FindTimelessJewel()
168
+ -- end)
168
169
169
170
-- Show Node Power Checkbox
170
- self .controls .treeHeatMap = new (" CheckBoxControl" , { " LEFT" , self .controls .findTimelessJewel , " RIGHT" }, { 130 , 0 , 20 }, " Show Node Power:" , function (state )
171
+ self .controls .treeHeatMap = new (" CheckBoxControl" , { " LEFT" , self .controls .treeSearch , " RIGHT" }, { 130 , 0 , 20 }, " Show Node Power:" , function (state )
171
172
self .viewer .showHeatMap = state
172
173
self .controls .treeHeatMapStatSelect .shown = state
173
174
@@ -330,7 +331,7 @@ function TreeTabClass:Draw(viewPort, inputEvents)
330
331
+ (self .isComparing and (self .controls .compareSelect .width + self .controls .compareSelect .x ) or 0 )
331
332
332
333
local widthSecondLineControls = self .controls .treeSearch .width + 8
333
- + self .controls .findTimelessJewel .width + self .controls .findTimelessJewel .x
334
+ -- + self.controls.findTimelessJewel.width + self.controls.findTimelessJewel.x
334
335
+ self .controls .treeHeatMap .width + 130
335
336
+ self .controls .nodePowerMaxDepthSelect .width + self .controls .nodePowerMaxDepthSelect .x
336
337
+ (self .isCustomMaxDepth and (self .controls .nodePowerMaxDepthCustom .width + self .controls .nodePowerMaxDepthCustom .x ) or 0 )
@@ -348,8 +349,9 @@ function TreeTabClass:Draw(viewPort, inputEvents)
348
349
end
349
350
350
351
-- Check second line
352
+ -- Revert comments if we add back find Timeless Jewel function
351
353
if viewPort .width >= widthSecondLineControls + rightMargin then
352
- self .controls .treeHeatMap :SetAnchor (" LEFT" , self .controls .findTimelessJewel , " RIGHT" , 130 , 0 )
354
+ self .controls .treeHeatMap :SetAnchor (" LEFT" , self .controls .treeSearch , " RIGHT" , 130 , 0 )
353
355
else
354
356
linesHeight = linesHeight * 2
355
357
self .controls .treeHeatMap :SetAnchor (" TOPLEFT" , self .controls .treeSearch , " BOTTOMLEFT" , 124 , 4 )
0 commit comments