kopia lustrzana https://github.com/backface/turtlestitch
tweaked large check mark symbol rendering
rodzic
48cdd1e052
commit
e5ceca4560
|
@ -1063,9 +1063,11 @@ SymbolMorph.prototype.renderSymbolCheckMark = function (ctx, color) {
|
|||
|
||||
ctx.fillStyle = color.toString();
|
||||
ctx.beginPath();
|
||||
ctx.moveTo(0, h * 0.5);
|
||||
ctx.moveTo(w * 0.2, h * 0.5);
|
||||
ctx.lineTo(w * 0.5, h);
|
||||
ctx.lineTo(w * 0.8, h * 0.3);
|
||||
ctx.lineTo(w, 0);
|
||||
ctx.lineTo(w * 0.8, h * 0.1);
|
||||
ctx.lineTo(w * 0.5, h * 0.65);
|
||||
ctx.closePath();
|
||||
ctx.fill();
|
||||
|
|
Ładowanie…
Reference in New Issue