pcca-matrix / PCCA-Layout

HyperSpin layout for Attract-Mode
GNU General Public License v3.0
7 stars 6 forks source link

Old letter shown before new one #48

Closed ghost closed 3 years ago

ghost commented 3 years ago

When navigating the wheel by using the next/previous letter, the former letter graphics is shown for a split second before the new one. Fix: Move code from line 1549 "letters.visible = true;" to here (line 1508 in function hs_tick) :

    if(trigger_letter == true){
        local firstl = fe.game_info(Info.Title);
        letters.file_name = medias_path + fe.list.name + "/Images/Letters/" + firstl.slice(0,1) + ".png";
        FE_Sound_Letter_Click.playing = true;
    **letters.visible = true;**
        trigger_letter = false;
    }
pcca-matrix commented 3 years ago

Thanks for identifying the issue Yaron !

ghost commented 3 years ago

My pleasure. Resolved!