oomek / attractplus

Attract-Mode Plus
GNU General Public License v3.0
46 stars 16 forks source link

Default layout snap not used if video exists #59

Closed Chadnaut closed 1 week ago

Chadnaut commented 8 months ago
local a = fe.add_artwork("snap", 0, 0, 400, 400);
a.video_flags = Vid.ImagesOnly;

local t = fe.add_text("[Name]", 0, 0, 400, 400);
t.char_size = 30;

Emulator settings: snap contains two paths, one for images, one for videos.

Scenario 1:

Scenario 2:

Scenario 3:

Same behavior in AM 2.7.0

oomek commented 3 weeks ago

Check if this fixes the issue please: https://github.com/oomek/attractplus/actions/runs/11196486552

Chadnaut commented 2 weeks ago

Looks good - the default snap in the layout folder is now used when a snap is missing, regardless if a video exits.