Simon Hunt
Committed by Gerrit Code Review

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
......@@ -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());
......