mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
add clear events method
This commit is contained in:
parent
1a1fa86ac5
commit
e8eaaa5f32
2 changed files with 6 additions and 2 deletions
|
|
@ -42,7 +42,7 @@ impl Gemini {
|
|||
p.set_progress(match event {
|
||||
// 0.1 reserved for handle begin
|
||||
SocketClientEvent::Resolving => {
|
||||
i.add_event("Resolving".to_string());
|
||||
i.clear_events().add_event("Resolving".to_string());
|
||||
0.2
|
||||
}
|
||||
SocketClientEvent::Resolved => {
|
||||
|
|
@ -139,7 +139,6 @@ impl Gemini {
|
|||
});
|
||||
self.page.set_title("Titan input");
|
||||
self.page.set_progress(0.0);
|
||||
//self.page.snap_history();
|
||||
}
|
||||
_ => panic!(), // unexpected
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue