robalb / morsechat

an online morse code chat
http://morse.halb.it/
GNU General Public License v3.0
62 stars 4 forks source link

bug report #58

Open kslamph opened 6 months ago

kslamph commented 6 months ago
   else{
            sound.off()
            if(t > times.wordGap){
                morseOut += letter + "   "
                morseLettersOut += translateToReadable(letter, dialectName) + "  "
                letter = ""
            }
            else if(t > times.letterGap){
                morseOut += letter + " "
                morseLettersOut += translateToReadable(letter, dialectName)
                letter = ""
            }
        }

web/src/pages/AppLogic.jsx line 65 it should be t>=times.wordGap and t>=times.letterGap instead of >