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 @@ ...@@ -1939,8 +1939,8 @@
1939 } 1939 }
1940 1940
1941 showInstances = mkTogBtn('Show Instances', toggleInst); 1941 showInstances = mkTogBtn('Show Instances', toggleInst);
1942 - doPanZoom = mkTogBtn('Pan/Zoom', togglePanZoom); 1942 + //doPanZoom = mkTogBtn('Pan/Zoom', togglePanZoom);
1943 - showTrafficOnHover = mkTogBtn('Show traffic on hover', toggleTrafficHover); 1943 + //showTrafficOnHover = mkTogBtn('Show traffic on hover', toggleTrafficHover);
1944 } 1944 }
1945 1945
1946 function instShown() { 1946 function instShown() {
...@@ -1956,14 +1956,16 @@ ...@@ -1956,14 +1956,16 @@
1956 } 1956 }
1957 1957
1958 function panZoom() { 1958 function panZoom() {
1959 - return doPanZoom.classed('active'); 1959 + return false;
1960 + //return doPanZoom.classed('active');
1960 } 1961 }
1961 function togglePanZoom() { 1962 function togglePanZoom() {
1962 doPanZoom.classed('active', !panZoom()); 1963 doPanZoom.classed('active', !panZoom());
1963 } 1964 }
1964 1965
1965 function trafficHover() { 1966 function trafficHover() {
1966 - return showTrafficOnHover.classed('active'); 1967 + return false;
1968 + //return showTrafficOnHover.classed('active');
1967 } 1969 }
1968 function toggleTrafficHover() { 1970 function toggleTrafficHover() {
1969 showTrafficOnHover.classed('active', !trafficHover()); 1971 showTrafficOnHover.classed('active', !trafficHover());
......