~eliasnaur/gio

08dfd2943b6ff6e500fe909abec002dc93a5db16 — Fabian Geiselhart 7 months ago 925f5af
ui: fix wrong method name in documentation

Signed-off-by: Fabian Geiselhart <me@f4814n.de>
1 files changed, 1 insertions(+), 1 deletions(-)

M unit/unit.go
M unit/unit.go => unit/unit.go +1 -1
@@ 55,7 55,7 @@ func Px(v float32) Value {
	return Value{V: v, U: UnitPx}
}

// Px returns the Value for v device independent
// Dp returns the Value for v device independent
// pixels.
func Dp(v float32) Value {
	return Value{V: v, U: UnitDp}