This commit is contained in:
Adam Skotarczak 2025-05-11 01:19:57 +02:00
parent 0afab16276
commit 165e4ce606
Signed by: realAscot
GPG Key ID: 4CB9B8D93A96A538
5 changed files with 21 additions and 7 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
desktop.ini
*.map
*.zip

View File

@ -19,6 +19,7 @@ Nutzt jQuery und Material Design Lite
- [AvorionDistanceCalculator](#avoriondistancecalculator)
- [Inhalt](#inhalt)
- [Screenshot](#screenshot)
- [Avorion auf Steam](#avorion-auf-steam)
- [Installation](#installation)
- [Geplante zukünftige Features](#geplante-zukünftige-features)
@ -31,6 +32,12 @@ Nutzt jQuery und Material Design Lite
---
## Avorion auf Steam
<https://store.steampowered.com/app/445220/Avorion/>
---
## Installation
> keine Installation nötig, einfach die [index.html](index.html) im Browser öffnen und loslegen.

View File

@ -1 +1 @@
1.2.0
1.2.1

View File

@ -43,7 +43,14 @@
<!-- Numeric Textfield with Floating Label -->
<div class="Titel">
Avorion distance calculator
Avorion Distance Calculator
</div>
<div>
<p>
<a href="https://github.com/realAscot/AvorionDistanceCalculator/releases">
<img src="https://camo.githubusercontent.com/a0a3d08faacbf827e5824b3333edc96945e5c1a0b4ba67568ffe6f0fc7f4cbf3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f7265616c4173636f742f41766f72696f6e44697374616e636543616c63756c61746f723f736f72743d73656d766572" alt="GitHub release (latest by semver)" data-canonical-src="https://img.shields.io/github/v/release/realAscot/AvorionDistanceCalculator?sort=semver" style="max-width: 100%;">
</a>
</p>
</div>
<div class="Feldbeschreibung">
Starting coordinates:

View File

@ -9,8 +9,8 @@
// bei Änderungen Version eintragen!
const MAJOR = 1; // +1 wenn inkompatibel zur vorherigen Version
const MINOR = 1; // +1 wenn neue Funktionen implementiert
const PATCH = 5; // +1 wenn Änderungen ohne neue Funktionen
const MINOR = 2; // +1 wenn neue Funktionen implementiert
const PATCH = 0; // +1 wenn Änderungen ohne neue Funktionen
// letzte Veröffentlichung
const LASTDEV = '2025-05-10';
@ -69,10 +69,9 @@ function calculate() {
// Schickt die Daten zur Berechnung an die Funktion und schreibt in die ID (id="result") des HTML Dokuments
if (!isNaN(x) && !isNaN(y)){ // wenn x unc y Werte enthalten
result.innerHTML = `
from [${x}:${y}] = ${goDistToCenter(x, y)} sectors to Center
${goDistToCenter(x, y)} sector(s) to Center 0:0
`;
koordinateX.value = "";
koordinateY.value = "";
// koordinateX.value = ""; koordinateY.value = "";
}
}