Fixed issue with rect's stroke

This commit is contained in:
Devine Lu Linvega 2019-07-27 20:45:10 +09:00
parent bf7dbedb23
commit ac7d51d939

View File

@ -81,13 +81,12 @@ function Surface (ronin) {
this.trace = function (shape, context) {
if (isRect(shape)) {
this.traceRect(shape, context)
} else if (isPos(shape)) {
this.tracePos(shape, context)
}
if (isLine(shape)) {
this.traceLine(shape, context)
}
if (isPos(shape)) {
this.tracePos(shape, context)
}
if (isCircle(shape)) {
this.traceCircle(shape, context)
} else if (isText(shape)) {