Skip to content

Commit

Permalink
Ensure default backdrop is numpy wrapped
Browse files Browse the repository at this point in the history
  • Loading branch information
cromachina committed Jul 23, 2023
1 parent 53feb97 commit b148185
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "psd-export"
version = "1.0.13"
version = "1.0.14"
authors = [
{ name = "cromachina" }
]
Expand Down
4 changes: 2 additions & 2 deletions src/psd_export/composite.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,8 @@ async def composite_group_layer(layer:WrappedLayer | list[WrappedLayer], size, o
if backdrop:
color_dst, alpha_dst = backdrop
else:
color_dst = 0.0
alpha_dst = 0.0
color_dst = dtype(0.0)
alpha_dst = dtype(0.0)

sublayer:WrappedLayer
for sublayer in layer:
Expand Down

0 comments on commit b148185

Please sign in to comment.