~eliasnaur/gio

b10a6938cdb5b12b30fbc894ddd9dd45a7416164 — Elias Naur 3 years ago 173d56a
ui/app: update comment and fix typo

Signed-off-by: Elias Naur <mail@eliasnaur.com>
2 files changed, 3 insertions(+), 3 deletions(-)

M ui/app/app.go
M ui/ui.go
M ui/app/app.go => ui/app/app.go +1 -1
@@ 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
}

M ui/ui.go => ui/ui.go +2 -2
@@ 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