@@ -688,7 +688,7 @@ function PassiveTreeViewClass:Draw(build, viewPort, inputEvents)
688688 end
689689
690690 -- Draw mastery effect artwork
691- if effect and not launch .devModeAlt then
691+ if effect and not launch .devModeAlt and not self . showHeatMap then
692692 if node .targetSize and node .targetSize [" effect" ] then
693693 effect .width = node .targetSize [" effect" ].width
694694 effect .height = node .targetSize [" effect" ].height
@@ -722,12 +722,12 @@ function PassiveTreeViewClass:Draw(build, viewPort, inputEvents)
722722 self :DrawAsset (base , scrX , scrY , scale )
723723 else
724724
725- if not node . alloc and not launch .devModeAlt then
725+ if not self . showHeatMap and not launch .devModeAlt and not node . alloc then
726726 self :LessLuminance ()
727727 end
728728
729729 self :DrawAsset (base , scrX , scrY , scale )
730- if not node . alloc and not launch .devModeAlt then
730+ if not self . showHeatMap and not launch .devModeAlt and not node . alloc then
731731 SetDrawColor (1 , 1 , 1 , 1 );
732732 end
733733 end
@@ -780,11 +780,13 @@ function PassiveTreeViewClass:Draw(build, viewPort, inputEvents)
780780 overlayImage .height = node .targetSize [" overlay" ].height
781781 end
782782
783- if not node .alloc and (node .type == " AscendClassStart" or node .type == " ClassStart" ) and not launch . devModeAlt then
783+ if not self . showHeatMap and not launch . devModeAlt and not node .alloc and (node .type == " AscendClassStart" or node .type == " ClassStart" ) then
784784 self :LessLuminance ()
785785 end
786786 self :DrawAsset (overlayImage , scrX , scrY , scale )
787- SetDrawColor (1 , 1 , 1 )
787+ if not self .showHeatMap and not launch .devModeAlt and not node .alloc and (node .type == " AscendClassStart" or node .type == " ClassStart" ) then
788+ SetDrawColor (1 , 1 , 1 )
789+ end
788790 end
789791 if self .searchStrResults [nodeId ] then
790792 -- Node matches the search string, show the highlight circle
@@ -959,7 +961,7 @@ function PassiveTreeViewClass:Zoom(level, viewPort)
959961end
960962
961963function PassiveTreeViewClass :Focus (x , y , viewPort , build )
962- self .zoomLevel = 12
964+ self .zoomLevel = 20
963965 self .zoom = 1.2 ^ self .zoomLevel
964966
965967 local tree = build .spec .tree
0 commit comments