Skip to content

Commit

Permalink
fix: when bgImage eq to none, still drawImageCount
Browse files Browse the repository at this point in the history
  • Loading branch information
welkinwong authored and qq15725 committed Oct 25, 2023
1 parent a610680 commit ae67b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/embed-css-style-image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function embedCssStyleImage(
return properties
.map(property => {
const value = style.getPropertyValue(property)
if (!value) {
if (!value || value === 'none') {
return null
}
if (IN_SAFARI || IN_FIREFOX) {
Expand Down

1 comment on commit ae67b4d

@vercel
Copy link

@vercel vercel bot commented on ae67b4d Oct 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

modern-screenshot – ./

modern-screenshot.vercel.app
modern-screenshot-git-main-qq15725.vercel.app
modern-screenshot-qq15725.vercel.app

Please sign in to comment.