mirror of
https://github.com/xibyte/jsketcher
synced 2026-02-16 20:34:46 +01:00
make base origin crosshair thinner
This commit is contained in:
parent
aaa360e48d
commit
f44ef5b69c
1 changed files with 6 additions and 6 deletions
|
|
@ -754,15 +754,15 @@ TCAD.TWO.BasisOrigin.prototype.draw = function(ctx, scale) {
|
|||
|
||||
ctx.setTransform( this.xScale, 0, 0, this.yScale, this.xShift, this.yShift);
|
||||
ctx.beginPath();
|
||||
|
||||
|
||||
ctx.lineWidth = 1;
|
||||
ctx.strokeStyle = this.yColor;
|
||||
|
||||
var headA = 5;
|
||||
var headA = 1;
|
||||
var headB = 10;
|
||||
|
||||
ctx.moveTo(0, 0);
|
||||
ctx.lineTo(0, - this.lineWidth);
|
||||
ctx.moveTo(0.5, 0);
|
||||
ctx.lineTo(0.5, - this.lineWidth);
|
||||
|
||||
ctx.moveTo(0, - this.lineWidth);
|
||||
ctx.lineTo(headA, 0 - this.lineWidth + headB);
|
||||
|
|
@ -774,8 +774,8 @@ TCAD.TWO.BasisOrigin.prototype.draw = function(ctx, scale) {
|
|||
|
||||
ctx.beginPath();
|
||||
ctx.strokeStyle = this.xColor;
|
||||
ctx.moveTo(0, 0);
|
||||
ctx.lineTo(this.lineWidth, 0);
|
||||
ctx.moveTo(0, 0.5);
|
||||
ctx.lineTo(this.lineWidth, 0.5);
|
||||
|
||||
ctx.moveTo(this.lineWidth, 0);
|
||||
ctx.lineTo(this.lineWidth - headB, headA);
|
||||
|
|
|
|||
Loading…
Reference in a new issue