diff --git a/src/Context.ts b/src/Context.ts index ef75ca2ac..c83e1cb18 100644 --- a/src/Context.ts +++ b/src/Context.ts @@ -593,11 +593,7 @@ export class Context { * @name Konva.Context#roundRect */ roundRect(x: number, y: number, width: number, height: number, radii: number) { - if (this._context.roundRect) { - this._context.roundRect(x, y, width, height, radii); - } else { - this._context.rect(x, y, width, height); - } + this._context.roundRect(x, y, width, height, radii); } /** * putImageData function.