mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-02 13:58:12 +08:00
Reduce editor message size by 67% and fix simple clippy warnings (#3327)
Reduce message size and fix some clippy issues
This commit is contained in:
@@ -1214,7 +1214,7 @@ impl PathToolData {
|
||||
|
||||
// Check if that segment exists or it has been removed
|
||||
if let Some(vector_data) = document.network_interface.compute_modified_vector(layer)
|
||||
&& !(vector_data.segment_domain.ids().iter().any(|segment| *segment == segment_id))
|
||||
&& !(vector_data.segment_domain.ids().contains(&segment_id))
|
||||
{
|
||||
self.segment = None;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user