Skip to content

Commit

Permalink
Image cleaning bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownJoe796 committed Jun 19, 2024
1 parent e2931cf commit 1f19f5a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ fun ImageView.setSrc(url: String) {
for(index in 0..<myIndex) {
val it = children[index] as? HTMLElement ?: continue
window.setTimeout({
if(it.parentElement == native && it.style.opacity == "0") {
if(it.parentElement == native) {
native.removeChild(it)
}
}, 150)
Expand Down

0 comments on commit 1f19f5a

Please sign in to comment.