Skip to content

Commit

Permalink
Fix/cutout plugin simplification parameter for transparency (#30)
Browse files Browse the repository at this point in the history
* Fix getting wrong type information

* Bump version to 1.0.4
  • Loading branch information
mirko314 authored Sep 24, 2024
1 parent e2342da commit 5598358
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/plugin-cutout-library-web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@imgly/plugin-cutout-library-web",
"version": "1.0.3",
"version": "1.0.4",
"description": "Cutout Library plugin for the CE.SDK editor",
"keywords": [
"CE.SDK",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-cutout-library-web/src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ async function getSelectedMimeTypes(
const isImageFill =
fillBlockId != null &&
engine.block.isValid(blockId) &&
engine.block.getType(blockId) === '//ly.img.ubq/fill/image';
engine.block.getType(fillBlockId) === '//ly.img.ubq/fill/image';
if (!isImageFill) {
return null;
}
Expand Down

0 comments on commit 5598358

Please sign in to comment.