should not use unkeyed fields anyway.
This commit is contained in:
parent
8b34cb3bd7
commit
62b1e2c499
1 changed files with 1 additions and 1 deletions
2
box.go
2
box.go
|
@ -23,11 +23,11 @@ func NewBox(top, left, right, bottom int) Box {
|
||||||
|
|
||||||
// Box represents the main 4 dimensions of a box.
|
// Box represents the main 4 dimensions of a box.
|
||||||
type Box struct {
|
type Box struct {
|
||||||
IsSet bool
|
|
||||||
Top int
|
Top int
|
||||||
Left int
|
Left int
|
||||||
Right int
|
Right int
|
||||||
Bottom int
|
Bottom int
|
||||||
|
IsSet bool
|
||||||
}
|
}
|
||||||
|
|
||||||
// IsZero returns if the box is set or not.
|
// IsZero returns if the box is set or not.
|
||||||
|
|
Loading…
Reference in a new issue