mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-23 05:18:11 +08:00
Fix images and text again (#752)
* Images and text now work again * Fix crash on load images
This commit is contained in:
committed by
Keavon Chambers
parent
4025815515
commit
8effd6ecca
@@ -422,6 +422,9 @@ impl Document {
|
||||
}
|
||||
if LayerDataTypeDiscriminant::from(&root.data) == data_type {
|
||||
root.cache_dirty = true;
|
||||
if let LayerDataType::Text(text) = &mut root.data {
|
||||
text.cached_path = None;
|
||||
}
|
||||
}
|
||||
|
||||
root.cache_dirty
|
||||
|
||||
Reference in New Issue
Block a user