Fixed rotating layouts; Added Shader layout
This commit is contained in:
13 files changed
+207
-93
No files matched your search
+1
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user