pixijs / layout

Library for arranging/resizing pixiJS rendered elements basing on css like configs
https://pixijs.io/layout/
MIT License
75 stars 5 forks source link

38 Implement conditional styles #39

Closed CyberDex closed 1 year ago

CyberDex commented 1 year ago

This PR fixes some issues like dynamic text styles apply and visibility control from styles.

Also it implements additional styles properties sections: 'portrait', 'landscape', 'max', 'min' to configure styles for specific DPIs and parent sizes.

Also update methods are renamed as developer, that will extend them may consider them as update methods, that often used to be triggered by ticker or requestAnimationFrame.

Closes: https://github.com/pixijs/layout/issues/38