mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-08-04 05:18:19 +00:00
Fix double clicking anchor to convert between smooth and sharp (#2023)
* Buffer after undo * Quick thumbnail fix while I'm thinking about it --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
parent
bb8560e5ad
commit
dc46959274
4 changed files with 2 additions and 1 deletions
|
@ -1551,6 +1551,7 @@ impl DocumentMessageHandler {
|
|||
responses.add(NodeGraphMessage::ForceRunDocumentGraph);
|
||||
// TODO: Remove once the footprint is used to load the imports/export distances from the edge
|
||||
responses.add(NodeGraphMessage::SetGridAlignedEdges);
|
||||
responses.add(Message::StartBuffer);
|
||||
Some(previous_network)
|
||||
}
|
||||
pub fn redo_with_history(&mut self, ipp: &InputPreprocessorMessageHandler, responses: &mut VecDeque<Message>) {
|
||||
|
|
|
@ -2822,6 +2822,7 @@ impl NodeNetworkInterface {
|
|||
}
|
||||
return Some(modified);
|
||||
}
|
||||
|
||||
self.document_metadata
|
||||
.click_targets
|
||||
.get(&layer)
|
||||
|
|
|
@ -1091,7 +1091,6 @@ impl ShapeState {
|
|||
|
||||
// Check by comparing the handle positions to the anchor if this manipulator group is a point
|
||||
let already_sharp = positions.next().is_none();
|
||||
|
||||
if already_sharp {
|
||||
self.convert_manipulator_handles_to_colinear(&vector_data, id, responses, layer);
|
||||
} else {
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 8.4 KiB |
Loading…
Add table
Add a link
Reference in a new issue