-firefox test preload image

This commit is contained in:
gocivici 2024-02-25 16:44:45 +03:00
parent 75a4f9f09c
commit 0e7b83733d

View File

@ -18,6 +18,12 @@ let pageVisible = true;
let debugMode = false;
let timeoutHandle;
//preload images
new Image().src = 'characterSprites/Red/Down.png';
new Image().src = 'characterSprites/Red/Up.png';
new Image().src = 'characterSprites/Red/Left.png';
new Image().src = 'characterSprites/Red/Right.png';
//emoji picker code
// let atPosition = true;