We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b1c448 commit 5665f6aCopy full SHA for 5665f6a
1 file changed
src/app.rs
@@ -25,8 +25,8 @@ use rayon::iter::{IntoParallelRefIterator, ParallelIterator};
25
use rayon::slice::ParallelSliceMut;
26
27
use std::cmp::min;
28
-use std::fs;
29
use std::time::Duration;
+use std::{fs, thread};
30
31
pub const WINDOW_WIDTH: f32 = 500.;
32
pub const DEFAULT_WINDOW_HEIGHT: f32 = 65.;
@@ -282,6 +282,7 @@ impl Tile {
282
let max_elem = min(5, new_length);
283
284
if prev_size != new_length {
285
+ thread::sleep(Duration::from_millis(30));
286
window::resize(
287
id,
288
iced::Size {
0 commit comments