hairyf / vue3-pixi

Lightweight and flexible Vue 3 library for creating PixiJS applications.
https://vue3-pixi.vercel.app/
MIT License
226 stars 23 forks source link

(fix) TextStyle can not patchProps after modified #54

Closed Angeart closed 1 year ago

Angeart commented 1 year ago

Hi!! thx for nice library but i got problem with the TextStyle

      case 'style':
        setSkipFirstValue(el, key, () => setObjectProperty(el.style, key, prev, next))

setObjectProperty(el.style, key, prev, next) will be equivant to about TextStyle['style'] = next is not correctly, it want to replace style prop of the el

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
vue3-pixi ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 25, 2023 6:48pm
Angeart commented 1 year ago

There may be other problems that is don't re-render if you use ref.

hairyf commented 1 year ago

thank