Skip to content

v0.16.5

Choose a tag to compare

@github-actions github-actions released this 13 Sep 05:49
· 362 commits to main since this release
c01865f
  • Fix race condition in zng::task::SignalOnce.

  • Event/command notify requested during a layout pass now all run before the next render pass.

    • After a layout pass the app does an updates pass (unchanged) and then does an app events pass (new).
    • See the zng::app module docs for more details.
  • Fix command event properties notifying twice when set on the Window! widget and raised by shortcut press.

  • Refactor UiNode::trace to work with widget and list nodes too.

  • Refactor actual_size and related actual_* properties to get the size on layout.

    • Before the size was sampled on render, now it is sampled before.
    • This change means any state hooked to the actual size will now update before the new size is visible on the next frame.
  • Improve scroll widget's ZOOM_TO_FIT_CMD.

    • Add zng::scroll::cmd::ZoomToFitRequest for configuring if the scale change is animated.
    • Add Scroll::zoom_to_fit_mode property for configuring if smaller content scales up to fit.
  • Add zng::mouse::ctrl_scroll contextual property.

    • Also strongly associated with Scroll! widget as Scroll::ctrl_scroll.
    • When enabled inverts priority of mouse wheel gesture so that it zooms when no modifier is pressed and scrolls when CTRL is pressed.