letsfindaway / OpenBoard

I'm using this fork to contribute features and fixes to the upstream project. In order to create good pull requests, I'm rebasing my feature branches, squashing and reordering commits, etc. If you fork this repository be aware that my development branches may rewrite history without prior notice.
http://openboard.ch/
GNU General Public License v3.0
9 stars 0 forks source link

Allow later manipulation of lines #141

Open letsfindaway opened 11 months ago

letsfindaway commented 11 months ago

After drawing a straight line, it is currently just a stroke. It can be resized, but this also changes the line width. One would often like to adjust the position of the line end points.

So what about making a line a more specific object? When hovering over the line, some drag handles at the end points could appear. They could allow to adjust the end points after the line was drawn.

After the latest fixes to persistence, a line is always persisted as <g><line/></g>, so we can (and actually do!) easily restore this property.

When parts of the line are erased using the eraser, then the line property is lost. So after that, a reconstruction of the line and adjustment of end points is no longer possible.