From b10a6938cdb5b12b30fbc894ddd9dd45a7416164 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Fri, 21 Jun 2019 14:51:45 +0200 Subject: [PATCH] ui/app: update comment and fix typo Signed-off-by: Elias Naur --- ui/app/app.go | 2 +- ui/ui.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/app/app.go b/ui/app/app.go index 5baf2ae9..139c992f 100644 --- a/ui/app/app.go +++ b/ui/app/app.go @@ -18,7 +18,7 @@ type Draw struct { Config *ui.Config Size image.Point // Whether this draw is system generated - // and needs to a complete frame before + // and needs a complete frame before // proceeding. sync bool } diff --git a/ui/ui.go b/ui/ui.go index 7a0592aa..afac415c 100644 --- a/ui/ui.go +++ b/ui/ui.go @@ -11,8 +11,8 @@ import ( "gioui.org/ui/internal/ops" ) -// Config contain the context for updating and -// drawing a user interface. +// Config contains the essential configuration for +// updating and drawing a user interface. type Config struct { // Device pixels per dp. PxPerDp float32