Browserwindow animations are stopped when used setPosition(x,y)


#1

i wrote something like this:
index.html:

< html >

<img src=“x.gif” …

< / html>

index.js:
this is an example

for(let increment = 0; …) {
win.setPosition(i, y)
}

this code change the window position in width direction …
but when it changed increased by x = 1 to x = 100 the gif animation stops when it starts moving …
i don’t want to gif animation stops
Can anyone help me what should I do? :frowning_face:


#2

this is exactly what i wrote …


#4

anybody … ?? :frowning_face: