mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-27 15:08:13 +08:00
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:
committed by
Keavon Chambers
parent
dae79caf15
commit
0da8dabba9
@@ -474,7 +474,7 @@ impl Document {
|
||||
|
||||
Some([vec![DocumentChanged, CreatedLayer { path: path.clone() }]].concat())
|
||||
}
|
||||
Operation::AddPen {
|
||||
Operation::AddPolyline {
|
||||
path,
|
||||
insert_index,
|
||||
points,
|
||||
|
||||
@@ -45,7 +45,7 @@ pub enum Operation {
|
||||
transform: [f64; 6],
|
||||
style: style::PathStyle,
|
||||
},
|
||||
AddPen {
|
||||
AddPolyline {
|
||||
path: Vec<LayerId>,
|
||||
transform: [f64; 6],
|
||||
insert_index: isize,
|
||||
|
||||
Reference in New Issue
Block a user