...Again
This commit is contained in:
parent
7fb67b13e0
commit
bbe41881ac
@ -29,7 +29,7 @@ func (pattern QuadBeveled) AtWhen (x, y, width, height int) (c color.RGBA) {
|
|||||||
|
|
||||||
switch {
|
switch {
|
||||||
case top && left:
|
case top && left:
|
||||||
if x > y { side = 0 } else { side = 3 }
|
if x < y { side = 3 } else { side = 0 }
|
||||||
|
|
||||||
case top && right:
|
case top && right:
|
||||||
if width - x > y { side = 0 } else { side = 1 }
|
if width - x > y { side = 0 } else { side = 1 }
|
||||||
|
Reference in New Issue
Block a user