mettre potenceVertical et potenceBas ensemble pour faire 10 traits au lieu de 11

pull/23/head
gwen 1 year ago
parent 1e163854a4
commit e5dc2cc472

@ -5,7 +5,6 @@ export default{
return { return {
viesEpuisees:10-(this.vieRestantes??10), viesEpuisees:10-(this.vieRestantes??10),
ordreDessin:[ ordreDessin:[
this.potenceBas,
this.potenceVertical, this.potenceVertical,
this.potencePoutre, this.potencePoutre,
this.potenceEquerre, this.potenceEquerre,
@ -40,6 +39,7 @@ export default{
this.ctx.stroke(); this.ctx.stroke();
}, },
potenceVertical: function(){ potenceVertical: function(){
this.potenceBas()
// Tracer la potence (trait vertical) // Tracer la potence (trait vertical)
this.ctx.beginPath(); this.ctx.beginPath();
this.ctx.moveTo(100, 200); this.ctx.moveTo(100, 200);

Loading…
Cancel
Save