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
@@ -122,7 +122,7 @@ func (w *Spectrum) Refresh(ctx app.Context) bool {
bounds := w.bounds.Load()
if w.changed.CompareAndSwap(true, false) {
if w.buffer == nil {
w.buffer = app.BufferFor(ctx, bounds.Size())
w.buffer = app.BufferFor(ctx.Display().ColorModel(), bounds.Size())
app.ImageCopy(w.buffer, w.styles.Window.Background())
}