This commit is contained in:
Sasha Koshka 2023-01-24 00:10:02 -05:00
parent 7fb67b13e0
commit bbe41881ac

View File

@ -29,7 +29,7 @@ func (pattern QuadBeveled) AtWhen (x, y, width, height int) (c color.RGBA) {
switch {
case top && left:
if x > y { side = 0 } else { side = 3 }
if x < y { side = 3 } else { side = 0 }
case top && right:
if width - x > y { side = 0 } else { side = 1 }