Skip to content

Commit 251d9c3

Browse files
committed
Release v0.3.12
1 parent 77c62d5 commit 251d9c3

3 files changed

Lines changed: 10 additions & 8 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dartlab-desktop"
3-
version = "0.3.11"
3+
version = "0.3.12"
44
edition = "2024"
55
description = "DartLab AI Desktop Launcher for Windows"
66
license = "MIT"

src/main.rs

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,11 @@ const SETUP_HTML: &str = r#"<!DOCTYPE html>
117117
border-radius: 50%;
118118
border: 2px solid rgba(148,163,184,0.25);
119119
border-top-color: #fb923c;
120-
display: none;
121-
flex: 0 0 auto;
122-
}
123-
.spinner.active {
124-
display: block;
125120
animation: spin 0.8s linear infinite;
121+
opacity: 0;
122+
transition: opacity 0.18s ease;
123+
pointer-events: none;
124+
flex: 0 0 auto;
126125
}
127126
#status {
128127
font-size: 13px;
@@ -262,7 +261,10 @@ const SETUP_HTML: &str = r#"<!DOCTYPE html>
262261
}
263262
function setBusy(nextBusy) {
264263
busy = !!nextBusy;
265-
document.getElementById('spinner').classList.toggle('active', busy);
264+
var spinner = document.getElementById('spinner');
265+
spinner.style.opacity = busy ? '1' : '0';
266+
spinner.setAttribute('aria-hidden', busy ? 'false' : 'true');
267+
document.body.setAttribute('data-busy', busy ? 'true' : 'false');
266268
syncUiState();
267269
}
268270
function setOllamaButton(label) {

0 commit comments

Comments
 (0)