fix per reset nella ricerca

This commit is contained in:
cesare 2023-03-09 13:28:28 +01:00
parent 79de64e13f
commit 2284a3789c
2 changed files with 2 additions and 2 deletions

View File

@ -775,7 +775,7 @@ function resetFrasi(){
cantoDisplayed=prevCantoDisplayed cantoDisplayed=prevCantoDisplayed
$(cantoDisplayed).attr('style', 'display: d-flex;'); $(cantoDisplayed).attr('style', 'display: d-flex;');
//manageMM (cantoDisplayed) //manageMM (cantoDisplayed)
//drawMinimap(cantoDisplayed) drawMinimap(cantoDisplayed)
} }
function manageMM(name){ function manageMM(name){

View File

@ -304,7 +304,7 @@ function getFormaContext(formaid, numversi=3) {
maxpos = listaforme.length - 1 maxpos = listaforme.length - 1
var pos = 0 var pos = 0
var startindex=Math.max(0, (offset-45)) var startindex=Math.max(0, (offset-25))
console.log('Forma id: '+formaid+' startindex '+ startindex+' offset '+offset+' ('+cantica+')') console.log('Forma id: '+formaid+' startindex '+ startindex+' offset '+offset+' ('+cantica+')')
for (i=startindex; i<listaforme.length; i++){ for (i=startindex; i<listaforme.length; i++){