Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save animation - only once in a while #1

Open
eibx opened this issue Apr 2, 2014 · 1 comment
Open

Save animation - only once in a while #1

eibx opened this issue Apr 2, 2014 · 1 comment

Comments

@eibx
Copy link

eibx commented Apr 2, 2014

Hi - Love the extension, as silly as it is. :)

But having the save animation play every time you save, is a bit much I think. (especially with the sound)

It would be great to have it run only every two minutes, or on every 20th save.

Best Regards
/Jesper

@citizenmatt
Copy link
Owner

Well, considering this was an April Fools' day joke that I didn't expect anyone to use for more than 5 minutes (:smile:), I'm not really planning on making any real changes to it - although I could always be persuaded otherwise by Pull Requests...

The code already groups/throttles document save requests. It creates a GroupingEvent that will only fire once, no matter how many times it's invoked, within a range of 1 second. You can always change that value to be a larger timeout.

And if the sound is too annoying, you can right click on Clippy and disable sound effects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants