ui/app: update comment and fix typo

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-06-21 14:51:45 +02:00
parent 173d56a67a
commit b10a6938cd
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ type Draw struct {
Config *ui.Config Config *ui.Config
Size image.Point Size image.Point
// Whether this draw is system generated // Whether this draw is system generated
// and needs to a complete frame before // and needs a complete frame before
// proceeding. // proceeding.
sync bool sync bool
} }
+2 -2
View File
@@ -11,8 +11,8 @@ import (
"gioui.org/ui/internal/ops" "gioui.org/ui/internal/ops"
) )
// Config contain the context for updating and // Config contains the essential configuration for
// drawing a user interface. // updating and drawing a user interface.
type Config struct { type Config struct {
// Device pixels per dp. // Device pixels per dp.
PxPerDp float32 PxPerDp float32