Skip to content

v2.21.0

Latest
Compare
Choose a tag to compare
@FelixKratz FelixKratz released this 14 Mar 09:16
· 4 commits to master since this release

Additions

  • All scripts have access to the new environment variable BAR_NAME, which holds the bar instance name (for use with multiple bars)
  • Allow bracket items to host popups
  • Add scroll_duration property for texts (#478)
  • Allow setting the image through image.string=<image>, equivalent to image=<image>
  • Add domain --load-font <path>, which makes a font from a custom path available to use

Fixes

  • enable scrolling with touchpad gestures #505
  • Fix memory leaks in truncated text width calculation
  • Fix memory corruption if an item is set to a popup position multiple times
  • Improve reliability of mouse.exited events
  • Limit hotloading to avoid hotload loops

Optimizations

  • Reduce draw calls for backgrounds
  • Improve the animation system (threaded rendering, better frame skip detection, better chained animations)
  • Sort the query response of default_menu_items by their position in the macOS bar

Full Changelog: v2.20.1...v2.21.0