mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-29 02:38:13 +08:00
Serialize images as base64 by rounding channels from floats to u8 (#1120)
Serialise images as base64
This commit is contained in:
committed by
Keavon Chambers
parent
79dade24e5
commit
0e97f352e9
@@ -1230,7 +1230,7 @@ fn edit_layer_deepest_manipulation(intersect: &Layer, responses: &mut VecDeque<M
|
||||
LayerDataType::Shape(_) => {
|
||||
responses.push_front(ToolMessage::ActivateTool { tool_type: ToolType::Path }.into());
|
||||
}
|
||||
LayerDataType::NodeGraphFrame(frame) if frame.vector_data.is_some() => {
|
||||
LayerDataType::NodeGraphFrame(frame) if frame.as_vector_data().is_some() => {
|
||||
responses.push_front(ToolMessage::ActivateTool { tool_type: ToolType::Path }.into());
|
||||
}
|
||||
_ => {}
|
||||
|
||||
Reference in New Issue
Block a user