mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-25 06:58:39 +00:00
fix order of layers; fix time slider update after repeated "Predict";
This commit is contained in:
+2
-1
@@ -216,6 +216,7 @@ public class SimulatorMap extends AbsolutePanel implements RequiresDataInitializ
|
||||
refreshWindFieldOverlay(windFieldDTO);
|
||||
|
||||
timeListeners.clear();
|
||||
|
||||
if (windParams.isShowArrows()) {
|
||||
timeListeners.add(windFieldCanvasOverlay);
|
||||
}
|
||||
@@ -525,7 +526,6 @@ public class SimulatorMap extends AbsolutePanel implements RequiresDataInitializ
|
||||
}
|
||||
}
|
||||
|
||||
this.timer.setTime(this.windParams.getStartTime().getTime());
|
||||
if (this.windParams.isShowArrows()) {
|
||||
this.windFieldCanvasOverlay.draw();
|
||||
}
|
||||
@@ -562,6 +562,7 @@ public class SimulatorMap extends AbsolutePanel implements RequiresDataInitializ
|
||||
windParams.setyRes(yRes);
|
||||
|
||||
busyIndicator.setBusy(true);
|
||||
timer.setTime(windParams.getStartTime().getTime());
|
||||
|
||||
simulatorService.getSimulatorResults(mode, raceCourseDirection, windParams, windPatternDisplay, true, selection, new ResultManager(summaryView));
|
||||
|
||||
|
||||
+3
-3
@@ -11,9 +11,9 @@ public interface SimulatorMapOverlaysZIndexes {
|
||||
|
||||
public static int REGATTA_AREA_ZINDEX = BASE_CANVAS_OVERLAY_ZINDEX + 1;
|
||||
public static int RACE_COURSE_ZINDEX = BASE_CANVAS_OVERLAY_ZINDEX + 2;
|
||||
public static int WINDFIELD_ZINDEX = BASE_CANVAS_OVERLAY_ZINDEX + 3;
|
||||
public static int WINDSTREAMLETS_ZINDEX = BASE_CANVAS_OVERLAY_ZINDEX + 4;
|
||||
public static int WINDGRID_ZINDEX = BASE_CANVAS_OVERLAY_ZINDEX + 5;
|
||||
public static int WINDGRID_ZINDEX = BASE_CANVAS_OVERLAY_ZINDEX + 3;
|
||||
public static int WINDFIELD_ZINDEX = BASE_CANVAS_OVERLAY_ZINDEX + 4;
|
||||
public static int WINDSTREAMLETS_ZINDEX = BASE_CANVAS_OVERLAY_ZINDEX + 5;
|
||||
public static int WINDLINE_ZINDEX = BASE_CANVAS_OVERLAY_ZINDEX + 6;
|
||||
public static int PATH_ZINDEX = BASE_CANVAS_OVERLAY_ZINDEX + 7;
|
||||
public static int PATHLEGEND_ZINDEX = BASE_CANVAS_OVERLAY_ZINDEX + 8;
|
||||
|
||||
Reference in New Issue
Block a user