check for dumb mode

This commit is contained in:
Val Erastov 2016-12-01 00:19:49 -08:00
parent f3409df80c
commit 3eebe7ac02

View file

@ -22,7 +22,7 @@ export class EditCircleTool extends Tool {
if (this.circle != null) {
var r = math.distance(p.x, p.y, this.circle.c.x, this.circle.c.y);
this.circle.r.set(r);
if (!e.shiftKey) {
if (!Tool.dumbMode(e)) {
this.solveRequest(true);
}
} else {