Commit 3a206beb authored by Sylvain Coulange's avatar Sylvain Coulange
Browse files

ajout réinit syll si click initiale + debug ü

parent 955ff3cb
......@@ -766,7 +766,18 @@ function zhPhon(rectId) {
if (gradientToRight.includes(phon)) { phon = phon+'-h' } // gradients à l'horizontal pour affriquées
console.log("zhPhon",rectId, phon)
if (listinitiales.includes(rectId)) {
console.log("RÉINITIALISATION SYLL");
syllFinie = syll;
syll = {
"initiale": { "rect":"", "phon":""},
"glide": { "rect":"", "phon":""},
"tonale": { "rect":"", "phon":""},
"finale": { "rect":"", "phon":""},
"tone": 0
};
currentSyll = [];
}
currentSyll.push(phon)
if (listinitiales.includes(rectId)) syll.initiale.phon = phon;
......
......@@ -4404,7 +4404,7 @@ var syll2chars = {
"": 1,
"": 1
},
"nu:4": {
"nü4": {
"": 2,
"": 1,
"": 1
......@@ -6791,7 +6791,7 @@ var syll2chars = {
"": 2,
"": 2
},
"lu:4": {
"lü4": {
"": 120,
"": 80,
"": 70,
......@@ -10141,7 +10141,7 @@ var syll2chars = {
"": 1,
"": 2
},
"nu:3": {
"nü3": {
"": 416,
"": 1,
"": 2
......@@ -10489,7 +10489,7 @@ var syll2chars = {
"": 2,
"": 2
},
"lu:3": {
"lü3": {
"": 122,
"": 26,
"": 25,
......@@ -10568,7 +10568,7 @@ var syll2chars = {
"": 1,
"": 2
},
"lu:e4": {
"lüe4": {
"": 162,
"": 24,
"": 2,
......@@ -14555,7 +14555,7 @@ var syll2chars = {
"": 1,
"": 1
},
"nu:e4": {
"nüe4": {
"": 27,
"": 12
},
......@@ -14642,7 +14642,7 @@ var syll2chars = {
"": 2,
"": 1
},
"lu:2": {
"lü2": {
"": 47,
"": 18,
"": 16,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment