v0.17.1
- Optimize read-only variables, now all var kinds are zero-cost.
- Fix
VarCapability::is_constfor contextual read-only variables. - Fix
IMAGES.reloadpanic on error. - Add
IMAGES.watchfor auto reloading image that is modified.- Implemented in
zng::fs_watcher::IMAGES_Extand imported in the prelude.
- Implemented in
- Add
Length::has_defaultthat inspectsExprvalues.- Method also added to all
Lengthbased composite units.
- Method also added to all
- Fix
length::replace_defaultnot consideringExprvalues. - Fix
Length::Defaulthaving a layout effect in exact size properties.- This default value now disables the properties, the required behavior for integration with
whenblocks in widgets. - Changed properties:
layout::{size, max_size, force_size}and related properties.
- This default value now disables the properties, the required behavior for integration with
- Fix buttons at the top-level of
Menu!not returning focus on click. - View-process now tries to guess image format in case of header decode error for an extension or mime defined format.
- Fix
cargo zng fmtwrap instability inside macros.
Crates will be available on crates.io once Publish completes.