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
@@ -55,7 +55,7 @@ func (w *Menu) Refresh(ctx app.Context) bool {
if w.changed.CompareAndSwap(true, false) || w.buffer == nil || (w.curr != w.next && w.next != nil) {
if w.buffer == nil {
w.buffer = app.BufferFor(ctx, size)
w.buffer = app.BufferFor(ctx.Display().ColorModel(), size)
w.Root.SetPageSize(size.Y / 16)
}