Skip to content

v0.2.0 - Padding keyword for effects, better memory efficiency and performance, improved preview UI

Choose a tag to compare

@nick-redwill nick-redwill released this 04 Nov 11:34
· 12 commits to main since this release

What's new

Improvements

  • //@padding keyword: effects declare how far they draw around the actor, with 1 to 4 values like CSS padding (e.g. //@padding 20 50 120 50). Top and bottom are percentages of the actor's height, left and right of its width. Add d to a padding value to measure it from the actor's diagonal, for effects that rotate or fold the actor (e.g. //@padding 100d 0 0 100d).
  • Padding limited to the monitor: the padded area never goes past the actor's monitor.
  • Lower memory use and faster animations: each effect gets only the padding it declares instead of the whole screen size on every side. Opening popups often no longer fills VRAM.
  • Popup cooldown: popups opened or closed less than 100 ms apart use GNOME's animation instead of stacking shaders.
  • Default effects padded: Melt, Glitch, Page Curl and Zoom Blur come with their own padding.
  • Preview outline: the new Enable Preview Outline switch on the Library page outlines the padded area in previews.
  • Preview duration: the new Preview Duration se sets how long previews run.

Fixes

  • Multiple monitors: effects no longer draw onto the neighboring monitor.
  • Popups on multiple monitors: they no longer jump to the other monitor while closing, which made a close and an open animation overlap.
  • Quick reopening: a popup reopened right after closing no longer disappears when the old close animation ends.

Breaking changes

  • Custom effects that draw outside the actor need a //@padding line now. Without it, they are cropped to the actor. Add one with the smallest values your effect needs.