Updated to use v2 imports (removes dependancy on v1)

various doc updates as well.
This commit is contained in:
Unknown
2018-07-25 14:14:00 -04:00
parent bf5e4f9b99
commit e61f555c39
9 changed files with 16 additions and 17 deletions

View File

@@ -209,7 +209,7 @@ func (l *LayerSet) SetVisible(b bool) error {
return nil
}
// SetPos snaps the given layerset boundry to the given point.
// SetPos snaps the given layerset boundary to the given point.
// Valid options for bound are: "TL", "TR", "BL", "BR"
func (l *LayerSet) SetPos(x, y int, bound string) {
if !l.visible || (x == 0 && y == 0) {