mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 09:08:40 +00:00
fix #11
This commit is contained in:
parent
34ff5c05ec
commit
a0074c07a6
1 changed files with 2 additions and 0 deletions
|
|
@ -189,10 +189,12 @@ class _ShareImageEditorView extends State<ShareImageEditorView> {
|
|||
for (var x in layers) {
|
||||
x.showCustomButtons = false;
|
||||
}
|
||||
setState(() {});
|
||||
image = await screenshotController.capture(pixelRatio: pixelRatio);
|
||||
for (var x in layers) {
|
||||
x.showCustomButtons = true;
|
||||
}
|
||||
setState(() {});
|
||||
} else if (layers.length == 1) {
|
||||
if (layers.first is BackgroundLayerData) {
|
||||
image = (layers.first as BackgroundLayerData).image.bytes;
|
||||
|
|
|
|||
Loading…
Reference in a new issue