mjrgh / PinballY

A table browser and launcher ("front end") for virtual pinball cabinets.
Other
46 stars 22 forks source link

Wheel items not shown when returning from media capture #228

Open jueank opened 9 months ago

jueank commented 9 months ago

I'm using PinballY 1.1.0. Beta 6. When returning from media capture (in my case: Visual Pinball X), all wheel images disappear. The user can only blindly navigate through the list of tables in PinballY or can use the info line if it contains the table name. This can only be reset by starting another table and returning back to PinballY or restarting PinballY.

jueank commented 8 months ago

The issue seems related to the FlexDMD.js script. I added these lines to it and the issue is not appearing anymore on my system:

mainWindow.on("runafter", ev => {
    mainWindow.launchOverlay.bg.clear(0xff404040);
    mainWindow.showWheel(true);
});

mainWindow.on("gameover", ev => {
    mainWindow.launchOverlay.bg.clear(0xff404040);
    mainWindow.showWheel(true);
});