Remove at from mouse instructions in Ice syntax

This commit is contained in:
Héctor Ramón Jiménez 2025-09-20 17:33:57 +02:00
parent 364b68f030
commit 79d501f9a5
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
5 changed files with 89 additions and 52 deletions

View file

@ -1,4 +1,5 @@
use iced::keyboard;
use iced::time::milliseconds;
use iced::widget::{
self, Text, button, center, center_x, checkbox, column, keyed_column,
operation, row, scrollable, text, text_input,
@ -544,8 +545,8 @@ impl SavedState {
.map_err(|_| SaveError::Write)?;
}
// This is a simple way to save at most once every couple seconds
tokio::time::sleep(std::time::Duration::from_secs(2)).await;
// This is a simple way to save at most twice every second
tokio::time::sleep(milliseconds(500)).await;
Ok(())
}