Implement Freehand Tool (#503)

* Implement freehand tool

* Address review comments

* Consistent ordering of tools

* Add hotkey N for freehand tool

* Tweak freehand tool hint
This commit is contained in:
Paul Kupper
2022-01-30 11:39:49 +01:00
committed by Keavon Chambers
parent dae79caf15
commit 0da8dabba9
13 changed files with 259 additions and 23 deletions
+1 -1
View File
@@ -255,7 +255,7 @@ mod test {
style: Default::default(),
});
editor.handle_message(Operation::AddPen {
editor.handle_message(Operation::AddPolyline {
path: vec![folder_id, PEN_INDEX as u64],
insert_index: 0,
transform: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0],