Fix text and triangle uploads being dropped on canvas cache clears
This commit is contained in:
parent
e617d7e929
commit
24501fd73b
2 changed files with 2 additions and 0 deletions
|
|
@ -122,6 +122,7 @@ impl Storage {
|
||||||
target_size,
|
target_size,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
upload.text = Rc::downgrade(&cache.text);
|
||||||
upload.version = cache.version;
|
upload.version = cache.version;
|
||||||
upload.transformation = new_transformation;
|
upload.transformation = new_transformation;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -113,6 +113,7 @@ impl Storage {
|
||||||
new_transformation,
|
new_transformation,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
upload.batch = Rc::downgrade(&cache.batch);
|
||||||
upload.version = cache.version;
|
upload.version = cache.version;
|
||||||
upload.transformation = new_transformation;
|
upload.transformation = new_transformation;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue