Git Product home page Git Product logo

Comments (10)

tonybaloney avatar tonybaloney commented on July 29, 2024 4

I had exactly the same issue yesterday. Nothing in the extension has changed. It's all since VS Code was updated.
They're GIF's. Possibly a chrome change?

from vscode-pets.

tonybaloney avatar tonybaloney commented on July 29, 2024 3

IF anyone is curious what the fix was:

  1. VS Code made a change to the static path for assets
  2. When you change the src attribute of an image element it resets GIFs to the first frame
  3. There was a check in the code to only set the image on a frame when it changed
  4. That check would always say the image has changed, because VS Code was rewriting the URL
  5. The images were actually animating, but they were being restarted to the first frame 8 times a second and so stuck on the first frame

So I changed it to check the last path of the URI and it no longer resets the animation 8 times a second

from vscode-pets.

marcduiker avatar marcduiker commented on July 29, 2024 2

Yup, have this issue as well. I've downloaded VSCode v1.56.2 and it still works in that version.
I'll ask around to see if anyone has an idea how to fix this.

from vscode-pets.

tonybaloney avatar tonybaloney commented on July 29, 2024 1

Just had a lightbulb moment and realised what was causing this. Pushed an update

from vscode-pets.

TheMoonDawg avatar TheMoonDawg commented on July 29, 2024

Hmm yeah, now that I think about it, the issue only started when I updated VSCode as well.

from vscode-pets.

johnmbaughman avatar johnmbaughman commented on July 29, 2024

Hmmm... this could explain why I'm seeing the non-returning extra pets. Ghosts of sessions past?

In addition, reset isn't working either. Is there a cache I should try and clear manually?

from vscode-pets.

effordDev avatar effordDev commented on July 29, 2024

Was anyone able to solve?

from vscode-pets.

barealek avatar barealek commented on July 29, 2024

bump, we need a fix

from vscode-pets.

marcduiker avatar marcduiker commented on July 29, 2024

OMG @tonybaloney you fixed it! I'm so happy with this, TY! 🙏

from vscode-pets.

TheMoonDawg avatar TheMoonDawg commented on July 29, 2024

My little pupper is back! Thanks man!

from vscode-pets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.