Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

set fillMode clear is invalide #435

Open
Lxiaoqiang opened this issue Jun 17, 2022 · 1 comment
Open

set fillMode clear is invalide #435

Lxiaoqiang opened this issue Jun 17, 2022 · 1 comment

Comments

@Lxiaoqiang
Copy link

source code in SVGADrawable

override fun draw(canvas: Canvas?) {
        if (cleared) {
            return
        }
        canvas?.let {
            drawer.drawFrame(it,currentFrame, scaleType)
        }

this code not do anything just return, so the canvas is not to be clear

I need to call clear() manual, Is it bug?

@Lxiaoqiang
Copy link
Author

the version is 2.6.1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant