mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
cleanup
This commit is contained in:
parent
1779c3223e
commit
8399b03050
@ -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) {
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user