This commit is contained in:
jmillman 2016-05-12 16:17:47 -04:00
parent 1779c3223e
commit 8399b03050
2 changed files with 2 additions and 14 deletions

View File

@ -676,9 +676,6 @@ public class TimeLineController {
}
}
@NbBundle.Messages({"# {0} - the number of events",
"Timeline.pushDescrLOD.confdlg.msg=You are about to show details for {0} events. This might be very slow or even crash Autopsy.\n\nDo you want to continue?",
"Timeline.pushDescrLOD.confdlg.title=Change description level of detail?"})
synchronized public void pushDescrLOD(DescriptionLoD newLOD) {
ZoomParams currentZoom = filteredEvents.zoomParametersProperty().get();
if (currentZoom == null) {

View File

@ -544,21 +544,12 @@ final public class VisualizationPanel extends BorderPane {
}
private void refreshTimeUI() {
refreshTimeUI(filteredEvents.timeRangeProperty().get());
}
private void refreshTimeUI(Interval interval) {
RangeDivisionInfo rangeDivisionInfo = RangeDivisionInfo.getRangeDivisionInfo(filteredEvents.getSpanningInterval());
final long minTime = rangeDivisionInfo.getLowerBound();
final long maxTime = rangeDivisionInfo.getUpperBound();
long startMillis = interval.getStartMillis();
long endMillis = interval.getEndMillis();
long startMillis = filteredEvents.getTimeRange().getStartMillis();
long endMillis = filteredEvents.getTimeRange().getEndMillis();
if (minTime > 0 && maxTime > minTime) {
Platform.runLater(() -> {
startPicker.localDateTimeProperty().removeListener(startListener);
endPicker.localDateTimeProperty().removeListener(endListener);