This commit is contained in:
Anton Lavrenov
2015-12-23 14:18:01 +07:00
parent 3616d38d85
commit 6608abbbc3

View File

@@ -185,7 +185,7 @@
pointerDirection = this.getPointerDirection(),
pointerWidth = this.getPointerWidth(),
pointerHeight = this.getPointerHeight(),
cornerRadius = Math.min(this.getCornerRadius, width / 2, height / 2);
cornerRadius = Math.min(this.getCornerRadius(), width / 2, height / 2);
context.beginPath();
if (!cornerRadius) {