Skip to content

Commit

Permalink
Merge pull request #1155 from jeran/jeran/fix_placeholder_outline_cache
Browse files Browse the repository at this point in the history
[Placeholder] Fix outline cache in placeholder
  • Loading branch information
bentrengrove committed May 23, 2022
2 parents 9356bb0 + 9c4a319 commit 2248e5e
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -178,7 +178,7 @@ fun Modifier.placeholder(
// the alpha applied
paint.alpha = placeholderAlpha
withLayer(paint) {
drawPlaceholder(
lastOutline.value = drawPlaceholder(
shape = shape,
color = color,
highlight = highlight,
Expand All @@ -190,7 +190,7 @@ fun Modifier.placeholder(
}
} else if (placeholderAlpha >= 0.99f) {
// If the placeholder alpha is > 99%, draw it with no alpha
drawPlaceholder(
lastOutline.value = drawPlaceholder(
shape = shape,
color = color,
highlight = highlight,
Expand Down

0 comments on commit 2248e5e

Please sign in to comment.