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
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
}
+2 -2
View File
@@ -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