Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
87eeba192f | ||
|
|
753dec84c5 | ||
|
|
06736a32be | ||
|
|
f400b2413d |
No files matched your search
|
Before Width: | Height: | Size: 70 B After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 70 B After Width: | Height: | Size: 81 KiB |
|
Before Width: | Height: | Size: 70 B After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 99 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 119 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 7.9 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 70 B After Width: | Height: | Size: 2.0 MiB |
|
Before Width: | Height: | Size: 92 B After Width: | Height: | Size: 96 KiB |
|
After Width: | Height: | Size: 332 KiB |
@@ -89,7 +89,7 @@ fn main() {
|
||||
window.hide().unwrap();
|
||||
} else {
|
||||
window.show().unwrap();
|
||||
window.focus().unwrap();
|
||||
window.set_focus().unwrap();
|
||||
}
|
||||
}
|
||||
SystemTrayEvent::MenuItemClick { id, .. } => match id.as_str() {
|
||||
@@ -102,7 +102,7 @@ fn main() {
|
||||
window.hide().unwrap();
|
||||
} else {
|
||||
window.show().unwrap();
|
||||
window.focus().unwrap();
|
||||
window.set_focus().unwrap();
|
||||
}
|
||||
}
|
||||
_ => {}
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
"distDir": "../src",
|
||||
"devPath": "../src",
|
||||
"beforeDevCommand": "",
|
||||
"beforeBuildCommand": ""
|
||||
"beforeBuildCommand": "",
|
||||
"withGlobalTauri": true
|
||||
},
|
||||
"package": {
|
||||
"productName": "TodoFlow",
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
<body>
|
||||
<div class="todo-widget">
|
||||
<!-- Barre supérieure personnalisée avec zone de déplacement pour Tauri -->
|
||||
<header class="widget-header" data-tauri-drag-region>
|
||||
<div class="header-left" data-tauri-drag-region>
|
||||
<header class="widget-header">
|
||||
<div class="header-drag-zone" data-tauri-drag-region>
|
||||
<span class="status-indicator disconnected" id="connection-status" title="Déconnecté"></span>
|
||||
<h1 class="widget-title" data-tauri-drag-region>TodoFlow</h1>
|
||||
</div>
|
||||
|
||||
@@ -63,17 +63,19 @@ body {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
cursor: grab; /* Indique qu'on peut faire glisser le widget */
|
||||
}
|
||||
|
||||
.widget-header:active {
|
||||
cursor: grabbing;
|
||||
}
|
||||
|
||||
.header-left {
|
||||
.header-drag-zone {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
flex: 1;
|
||||
height: 100%;
|
||||
cursor: grab;
|
||||
}
|
||||
|
||||
.header-drag-zone:active {
|
||||
cursor: grabbing;
|
||||
}
|
||||
|
||||
/* Indicateur d'état connecté à l'API */
|
||||
|
||||