mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Added minimap and scale
This commit is contained in:
@@ -46,7 +46,7 @@ class ATCDataHandler {
|
||||
|
||||
startUpdates() {
|
||||
|
||||
this.#updateInterval = setInterval( () => {
|
||||
this.#updateInterval = window.setInterval( () => {
|
||||
|
||||
const aBoardIsVisible = this.#atc.getBoards().some( board => board.boardIsVisible() );
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@ export abstract class ATCBoard {
|
||||
});
|
||||
|
||||
|
||||
setInterval( () => {
|
||||
window.setInterval( () => {
|
||||
this.updateClock();
|
||||
}, 1000 );
|
||||
|
||||
@@ -206,7 +206,7 @@ export abstract class ATCBoard {
|
||||
this.#strips[ flightId ].element.remove();
|
||||
this.#strips[ flightId ].isDeleted = true;
|
||||
|
||||
setTimeout( () => {
|
||||
window.setTimeout( () => {
|
||||
delete this.#strips[ flightId ];
|
||||
}, 10000 );
|
||||
|
||||
@@ -326,7 +326,7 @@ export abstract class ATCBoard {
|
||||
|
||||
resetSuggestions();
|
||||
|
||||
searchTimeout = setTimeout( () => {
|
||||
searchTimeout = window.setTimeout( () => {
|
||||
|
||||
const searchString = unitName.value.toLowerCase();
|
||||
|
||||
@@ -408,7 +408,7 @@ export abstract class ATCBoard {
|
||||
return;
|
||||
}
|
||||
|
||||
this.#updateInterval = setInterval( () => {
|
||||
this.#updateInterval = window.setInterval( () => {
|
||||
|
||||
this.update();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user