Skip to content

Commit

Permalink
dont abuse revealer
Browse files Browse the repository at this point in the history
  • Loading branch information
SeaDve committed Dec 16, 2023
1 parent 6661931 commit 4dfee9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -781,8 +781,8 @@ impl Window {

imp.queued_draw_graph.set(true);

// If we're not processing a graph, skip the timeout.
if !imp.spinner_revealer.reveals_child() {
// If we're not rendering a graph, skip the timeout.
if !imp.graph_view.is_rendering() {
if let Some(cancellable) = imp.draw_graph_timeout_cancellable.take() {
cancellable.cancel();
}
Expand Down

0 comments on commit 4dfee9b

Please sign in to comment.