File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -752,7 +752,7 @@ <h5 class="modal-title" id="exportModalLabel">Export</h5>
752752 colorMode : d3 . select ( "#highlightLeaves" ) . node ( ) . value ? "list" : "none" ,
753753 defaultColor : this . value ,
754754 highlightColor : d3 . select ( "#highlightColor" ) . node ( ) . value ,
755- nodeList : [ ]
755+ nodeList : tree . getNodeGUIDs ( true )
756756 } ) ;
757757 } ) ;
758758
@@ -761,17 +761,18 @@ <h5 class="modal-title" id="exportModalLabel">Export</h5>
761761 colorMode : d3 . select ( "#highlightLeaves" ) . node ( ) . value ? "list" : "none" ,
762762 defaultColor : d3 . select ( "#defaultColor" ) . node ( ) . value ,
763763 highlightColor : this . value ,
764- nodeList : [ ]
764+ nodeList : tree . getNodeGUIDs ( true )
765765 } ) ;
766766 } ) ;
767767
768768 d3 . select ( "#highlightLeaves" ) . on ( "input" , function ( ) {
769+ console . log ( "tree" , tree . getNodeGUIDs ( true ) ) ;
769770 if ( this . value ) {
770771 tree . setColorOptions ( {
771772 colorMode : "list" ,
772773 defaultColor : d3 . select ( "#defaultColor" ) . node ( ) . value ,
773774 highlightColor : d3 . select ( "#highlightColor" ) . node ( ) . value ,
774- nodeList : [ ]
775+ nodeList : tree . getNodeGUIDs ( true )
775776 } )
776777 } else {
777778 tree . setColorOptions ( {
You can’t perform that action at this time.
0 commit comments