Fixed rotating layouts; Added Shader layout

This commit is contained in:
maze authored and maze committed 2026-10-29 17:29:54 +01:00
1 parent 86aad51e37
commit 0196bb3707
13 files changed
+207 -93

No files matched your search

+1 -1
View File
@@ -120,7 +120,7 @@ func (w *Text) Refresh(ctx app.Context) bool {
// Resize buffer if required.
if w.buffer == nil || resize.X+resize.Y > 0 {
log.WithField("size", resize).Debug("allocating new buffer")
w.buffer = app.BufferFor(ctx, resize)
w.buffer = app.BufferFor(ctx.Display().ColorModel(), resize)
}
// Fill background.