peter-tackage / notable

A note taking app made using Flutter
Apache License 2.0
9 stars 1 forks source link

Drawing rendering performance #10

Open peter-tackage opened 5 years ago

peter-tackage commented 5 years ago

Currently the drawing note will redraw the entire drawing on each stroke movement. This is unnecessary and as the drawing becomes more elaborate, the pen no longer keeps up with the user's stroke movement.

It should be possible to only redraw the most recent stroke without drawing each previous action. This would likely require the rendering view to retain some form of state and for the bloc to only provide the most recent action layer.