Isolate test state and paint full frame
This commit is contained in:
@@ -1655,6 +1655,9 @@ func (u *ui) noteCurrentVaultPath() {
|
||||
}
|
||||
|
||||
func (u *ui) layout(gtx layout.Context) layout.Dimensions {
|
||||
// Clear the full frame explicitly so mobile surfaces don't start from an
|
||||
// unpainted black buffer before nested background widgets run.
|
||||
paint.Fill(gtx.Ops, bgColor)
|
||||
u.syncHostedAPI()
|
||||
u.filter()
|
||||
u.processShortcuts(gtx)
|
||||
|
||||
Reference in New Issue
Block a user