mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-07 02:15:34 +00:00
ui/layout: remove unused isInf
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -130,10 +130,6 @@ func EqualInsets(v ui.Value) Insets {
|
|||||||
return Insets{Top: v, Right: v, Bottom: v, Left: v}
|
return Insets{Top: v, Right: v, Bottom: v, Left: v}
|
||||||
}
|
}
|
||||||
|
|
||||||
func isInf(v ui.Value) bool {
|
|
||||||
return math.IsInf(float64(v.V), 1)
|
|
||||||
}
|
|
||||||
|
|
||||||
type Sized struct {
|
type Sized struct {
|
||||||
Width, Height ui.Value
|
Width, Height ui.Value
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user