GUI -- removed Pan/Zoom and Show Traffic on Hover buttons from masthead.
note: pan-zoom requires Command (Meta) key to be held down.
Change-Id: I866e31c256119cffa6af0109711d003b4d7dd8fd
diff --git a/web/gui/src/main/webapp/topo2.js b/web/gui/src/main/webapp/topo2.js
index 1dedc6d..20615e3 100644
--- a/web/gui/src/main/webapp/topo2.js
+++ b/web/gui/src/main/webapp/topo2.js
@@ -1939,8 +1939,8 @@
}
showInstances = mkTogBtn('Show Instances', toggleInst);
- doPanZoom = mkTogBtn('Pan/Zoom', togglePanZoom);
- showTrafficOnHover = mkTogBtn('Show traffic on hover', toggleTrafficHover);
+ //doPanZoom = mkTogBtn('Pan/Zoom', togglePanZoom);
+ //showTrafficOnHover = mkTogBtn('Show traffic on hover', toggleTrafficHover);
}
function instShown() {
@@ -1956,14 +1956,16 @@
}
function panZoom() {
- return doPanZoom.classed('active');
+ return false;
+ //return doPanZoom.classed('active');
}
function togglePanZoom() {
doPanZoom.classed('active', !panZoom());
}
function trafficHover() {
- return showTrafficOnHover.classed('active');
+ return false;
+ //return showTrafficOnHover.classed('active');
}
function toggleTrafficHover() {
showTrafficOnHover.classed('active', !trafficHover());