mirror of https://github.com/mum4k/termdash.git
Fixing a comment.
This commit is contained in:
parent
11ec278c1a
commit
35aeea2ddc
|
@ -121,7 +121,7 @@ func vAlign(rect image.Rectangle, ar image.Rectangle, v Vertical) (image.Rectang
|
|||
), nil
|
||||
}
|
||||
|
||||
// Rectangle aligns the rectangle within the provided area returning the
|
||||
// Rectangle aligns the area within the rectangle returning the
|
||||
// aligned area. The area must fall within the rectangle.
|
||||
func Rectangle(rect image.Rectangle, ar image.Rectangle, h Horizontal, v Vertical) (image.Rectangle, error) {
|
||||
if !ar.In(rect) {
|
||||
|
|
Loading…
Reference in New Issue