From bc21faeefb4120dc1a0895c032b937539509228d Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Tue, 20 Jan 2015 12:41:58 -0800 Subject: [PATCH] Add entityListTool.toggleVisible --- examples/libraries/entityList.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/libraries/entityList.js b/examples/libraries/entityList.js index 10a2209309..8fbc40698f 100644 --- a/examples/libraries/entityList.js +++ b/examples/libraries/entityList.js @@ -13,6 +13,10 @@ EntityListTool = function(opts) { webView.setVisible(visible); }; + that.toggleVisible = function() { + that.setVisible(!visible); + } + selectionManager.addEventListener(function() { var selectedIDs = [];