Skip to content

Commit

Permalink
Merge pull request #45 from dimtpap/no-repaint-every-frame
Browse files Browse the repository at this point in the history
Don't call request_repaint every frame
  • Loading branch information
zakarumych authored Dec 19, 2024
2 parents 1e29a66 + b62633f commit a15cf18
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2113,7 +2113,6 @@ impl<T> Snarl<T> {
);

node_state.store(ui.ctx());
ui.ctx().request_repaint();
Some(DrawNodeResponse {
node_moved,
node_to_top,
Expand Down

0 comments on commit a15cf18

Please sign in to comment.