ui: fix wrong method name in documentation

Signed-off-by: Fabian Geiselhart <me@f4814n.de>
This commit is contained in:
Fabian Geiselhart
2020-04-23 12:26:49 +02:00
committed by Elias Naur
parent 925f5af930
commit 08dfd2943b
+1 -1
View File
@@ -55,7 +55,7 @@ func Px(v float32) Value {
return Value{V: v, U: UnitPx} return Value{V: v, U: UnitPx}
} }
// Px returns the Value for v device independent // Dp returns the Value for v device independent
// pixels. // pixels.
func Dp(v float32) Value { func Dp(v float32) Value {
return Value{V: v, U: UnitDp} return Value{V: v, U: UnitDp}