mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-14 20:33:30 +01:00
add hints for ellipse tools
This commit is contained in:
parent
e1d62e6a6a
commit
3cfff1b863
1 changed files with 2 additions and 0 deletions
|
|
@ -33,6 +33,7 @@ export class EllipseTool extends Tool {
|
|||
this.viewer.activeLayer.objects.push(this.ellipse);
|
||||
this.viewer.refresh();
|
||||
this.state = STATE_POINT2;
|
||||
this.sendHint('specify second major axis point')
|
||||
break;
|
||||
}
|
||||
case STATE_POINT2: {
|
||||
|
|
@ -40,6 +41,7 @@ export class EllipseTool extends Tool {
|
|||
this.ellipse.ep2.setFromPoint(p);
|
||||
this.viewer.refresh();
|
||||
this.state = RADIUS;
|
||||
this.sendHint('specify minor axis radius')
|
||||
break;
|
||||
}
|
||||
case RADIUS:
|
||||
|
|
|
|||
Loading…
Reference in a new issue