Skip to content

v0.0.0-alpha.17

Pre-release
Pre-release

Choose a tag to compare

@lrstanley lrstanley released this 26 Nov 23:43
v0.0.0-alpha.17
3cb84a1

Cells without a background of their own now keep the background beneath them everywhere, the way text inside a colored box always has. On a painted screen, animations no longer flash through to the terminal's own background, which on a translucent terminal you could see through.

  • Transitions stay on their box's color. A node drawn with effects, such as a fade or a stagger, used to be composited background and all, so it showed the terminal's background while it animated and only got the box's color back once it settled.
  • Fades keep a translucent terminal translucent. Fade and Shade wrote the terminal's background as an explicit color on cells that had none, so with the terminal's own background left unpainted, a fade went briefly opaque. Fade now blends only toward a background the node has itself, which also stops a painted background dipping darker mid-fade.
  • Layers and Drawables sit on the color beneath. A layer without a background used to leave a hole in a painted screen, and looked different moving than still. A Drawable's cells replaced the background beneath them, even after clearing them first as a StyledString does. Both now keep it, read from the glyph covering the cell, so wide glyphs keep their color too.
  • An opaque layer's shadow stays off the layer. Only the part of a Shadow that the layer doesn't cover is drawn, so it can't show through the layer's cells.

Breaking: a layer, a Drawable, or a node drawn with effects that has no background of its own now shows the background beneath it instead of the terminal's default. Give it a background to keep it apart from what it's over.

Changelog

⚠️ Breaking Changes

  • 27035dd: keep the background beneath cells that have none of their own (@lrstanley)
    • a layer, a Drawable, or a node drawn with effects that has no background of its own now shows the background beneath it instead of the terminal's default. Give it a background to keep it apart from what it's over.

🐞 Bug Fixes

🧹 Misc

1 change

Full changelog: v0.0.0-alpha.16...v0.0.0-alpha.17

📦 Install

go get bloomfx.dev/bloom@v0.0.0-alpha.17

Docs: bloomfx.dev/bloom

💬 What to do next?