Skip to content

Commit

Permalink
fix: unnecessary surface flag causing rendering slowdown
Browse files Browse the repository at this point in the history
  • Loading branch information
flxzt committed May 13, 2022
1 parent 8bfaaeb commit 192426c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rnote-engine/src/pens/penholder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -326,10 +326,10 @@ impl PenHolder {
camera,
));
self.pen_mode_state.set_pen_mode(pen_mode);
}

surface_flags.redraw = true;
surface_flags.penholder_changed = true;
surface_flags.redraw = true;
surface_flags.penholder_changed = true;
}

surface_flags
}
Expand Down

0 comments on commit 192426c

Please sign in to comment.