mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-14 22:35:26 +00:00
Apply review fixes
- crates/ui-egui/src/panels/pages.rs
This commit is contained in:
1 parent
9994665436
commit
e5010f363c
1 file changed
+1
@@ -83,6 +83,7 @@ fn thumb(app: &mut DesignApp, ctx: &egui::Context, of: ThumbOf, h: f32) -> Optio
|
||||
}
|
||||
if let Some((rev, t)) = map.get(&key) {
|
||||
if *rev == st.revision {
|
||||
ctx.data_mut(|d| d.insert_temp(clock_id, clock));
|
||||
return Some(t.clone());
|
||||
}
|
||||
let wait = THUMB_QUIET_SECS - (now - clock.changed_at);
|
||||
|
||||
Reference in new issue
Block a user