mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
ui: fix wrong method name in documentation
Signed-off-by: Fabian Geiselhart <me@f4814n.de>
This commit is contained in:
committed by
Elias Naur
parent
925f5af930
commit
08dfd2943b
+1
-1
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user