Skip to content

Commit 005e1b9

Browse files
authored
Merge pull request #67 from Hoff97/develop
Small style fix
2 parents 9dd7501 + 09ac8ba commit 005e1b9

4 files changed

Lines changed: 11 additions & 16 deletions

File tree

.github/workflows/develop.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,7 @@ jobs:
2828
node-version: 22
2929
cache: npm
3030
cache-dependency-path: frontend/package-lock.json
31-
- name: Print frontend toolchain and package hashes
32-
run: |
33-
node --version
34-
npm --version
35-
sha256sum frontend/package.json frontend/package-lock.json
31+
3632
- name: Install frontend dependencies
3733
run: |
3834
cd frontend

.github/workflows/main.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,10 @@ jobs:
2222
- name: Set up Node.js
2323
uses: actions/setup-node@v4
2424
with:
25-
node-version: 20
25+
node-version: 22
2626
cache: npm
2727
cache-dependency-path: frontend/package-lock.json
2828

29-
- name: Print frontend toolchain and package hashes
30-
run: |
31-
node --version
32-
npm --version
33-
sha256sum frontend/package.json frontend/package-lock.json
34-
3529
- name: Install frontend dependencies
3630
run: cd frontend && npm install && npm ci
3731

frontend/src/App.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,14 @@
3939
top: 90px;
4040
}
4141

42+
.search-card {
43+
width: 165px;
44+
}
45+
4246
.offlineButton {
43-
top: 45px;
44-
left: 10px;
47+
top: 10px;
48+
left: 225px;
49+
white-space: nowrap;
4550
}
4651

4752
.infoButton {

frontend/src/utils/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ function cropHeightMap(
190190
const outRows = desiredRowEnd - desiredRowStart + 1;
191191
const outCols = desiredColEnd - desiredColStart + 1;
192192

193-
// Start with all zeros; fill in whatever is covered by the stored map.
194-
const croppedHeights = new Array<number>(outRows * outCols).fill(0);
193+
// Fill with a very high value outside downloaded area so glide calculation stops at coverage boundaries.
194+
const croppedHeights = new Array<number>(outRows * outCols).fill(9999);
195195

196196
for (let row = desiredRowStart; row <= desiredRowEnd; row++) {
197197
if (row < 0 || row >= rows) continue;

0 commit comments

Comments
 (0)