mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-07 02:15:34 +00:00
ui/app: update comment and fix typo
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+1
-1
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user