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) {
|
this.trace = function (shape, context) {
|
||||||
if (isRect(shape)) {
|
if (isRect(shape)) {
|
||||||
this.traceRect(shape, context)
|
this.traceRect(shape, context)
|
||||||
|
} else if (isPos(shape)) {
|
||||||
|
this.tracePos(shape, context)
|
||||||
}
|
}
|
||||||
if (isLine(shape)) {
|
if (isLine(shape)) {
|
||||||
this.traceLine(shape, context)
|
this.traceLine(shape, context)
|
||||||
}
|
}
|
||||||
if (isPos(shape)) {
|
|
||||||
this.tracePos(shape, context)
|
|
||||||
}
|
|
||||||
if (isCircle(shape)) {
|
if (isCircle(shape)) {
|
||||||
this.traceCircle(shape, context)
|
this.traceCircle(shape, context)
|
||||||
} else if (isText(shape)) {
|
} else if (isText(shape)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user