saber-notes / saber

The cross-platform open-source app built for handwriting
https://saber.adil.hanney.org
GNU General Public License v3.0
2.18k stars 141 forks source link

Separate tool for drawing lines (and shapes) #918

Open adil192 opened 1 year ago

adil192 commented 1 year ago

Discussed in https://github.com/adil192/saber/discussions/915

Originally posted by **tuermana** September 10, 2023 There is an option in configuration named "hold to straighten a line" that is very useful but it often times screws up when coloring something. I think it would be better if it was another tool instead of a configuration so you can toggle it on or off and it will also allow to add more figures to draw like triangles, squares, etc. In that regard, a circle can be the first option to implement because you can draw almost any figure with just a line and a circle.
Iey4iej3 commented 1 year ago

The current (v0.17.0) implementation makes it sometimes more difficult to draw straight lines when we take notes. I mean, previously, we can draw straight lines only via the stylet, but now, many steps are necessary.

I am not sure a better way to do this. The button on the stylet is already used to enable the eraser. An option is to click this button twice to enable the shape mode, which switches back automatically when the stylet leaves the touchscreen.