New:
- Create
mosaic-animation
library, that provides various possibilities for animating Mosaic. An analog of androidx.compose.animation-core. - Add
IntrinsicSize
and relatedModifier.width
/height
/requiredWidth
/requiredHeight
. - New
mosaic-testing
library for deterministically rendering Mosaic composables under test. - Add
Mosaic.layoutId
which allows identifying the element within its parent during layout. - Add
Modifier.composed
that allows creating custom reusable modifiers with access to Compose functionality inside.
Changed:
- Rendering now occurs as fast as possible, although still only when necessary. Previously the maximum FPS was capped to 20, which could cause minor visual delays when processing events.
Fixed:
- Fix the handling of custom
Modifier
s that have multiple parents fromLayoutModifier
,DrawModifier
,KeyModifier
,ParentDataModifier
.