Skip to content

Commit 3390939

Browse files
authored
Update UI for consistent scaling (#966)
* Update UI for consistent scaling * Address copilot review comments, bump ver
1 parent 6c48321 commit 3390939

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

gcs/electron/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ function createWindow() {
289289
// Test active push message to Renderer-process.
290290
win.webContents.on("did-finish-load", () => {
291291
win?.webContents.send("main-process-message", new Date().toLocaleString())
292+
win?.webContents.setZoomFactor(1.0)
292293
})
293294

294295
if (VITE_DEV_SERVER_URL) {

gcs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"name": "Avis-Drone-Labs"
77
},
88
"private": true,
9-
"version": "0.2.2-alpha-dev2",
9+
"version": "0.2.2-alpha-dev3",
1010
"license": "GPL-3.0-only",
1111
"homepage": "https://fgcs.projectfalcon.uk",
1212
"githubLink": "https://github.com/Avis-Drone-Labs/FGCS",

gcs/src/css/index.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
-webkit-font-smoothing: antialiased;
2525
-moz-osx-font-smoothing: grayscale;
2626
-webkit-text-size-adjust: 100%;
27+
-ms-text-size-adjust: 100%;
28+
text-size-adjust: 100%;
2729

2830
@apply bg-falcongrey-800 text-neutral-50 h-full max-h-full min-h-screen;
2931

0 commit comments

Comments
 (0)