*/
public void setMarkers(List<IMarkerEvent> markers) {
fMarkers = markers;
- fTimeGraphScale.setMarkers(markers);
}
/**
*/
public void setMarkersVisible(boolean visible) {
fMarkersVisible = visible;
- fTimeGraphScale.setMarkersVisible(visible);
}
/**
// over the time scale
horizontalZoom = true;
} else if (e.y >= getSize().y) {
- // over the horizontal scroll bar
- if ((e.stateMask & SWT.MODIFIER_MASK) == SWT.CTRL) {
- horizontalZoom = true;
- } else {
- horizontalScroll = true;
- }
+ // over the marker axis
+ horizontalZoom = true;
} else {
if ((e.stateMask & SWT.MODIFIER_MASK) == (SWT.SHIFT | SWT.CTRL)) {
verticalZoom = true;