Fixed issue with rect's stroke
This commit is contained in:
parent
bf7dbedb23
commit
ac7d51d939
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user