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:
adamgerhant
2024-10-07 13:13:52 -07:00
committed by GitHub
co-authored by Keavon Chambers
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)