Aris-t2 / CustomJSforFx

custom scripts
GNU General Public License v3.0
236 stars 22 forks source link

Some icons will flip horizontally if clicked/selected #89

Open Aleksandra0056 opened 1 year ago

Aleksandra0056 commented 1 year ago

Describe the issue:

What should have happened instead?

Steps to reproduce the issue?

  1. Open Firefox,
  2. Go to “Customize Firefox” page
  3. Click on Blue downloads button and keep selected it at least for 3 seconds,
  4. Then click on Restart button and keep selected it at least for 3 seconds,
  5. And then click on Undo Closed Tab button and keep selected it at least for 3 seconds,
  6. As you see if you click on them, then they flip horizontally.

Screenshots (drag and drop images into this post):

Here is reproduction video:

https://github.com/Aris-t2/CustomJSforFx/assets/69351811/7ea8066d-880c-4049-86d7-375d9a3f962a

System information

Speravir commented 1 year ago

It’s not an issue, but a feature!

If you do not appreciate this behaviour then you have to disable (prepend /*) or remove these lines in the scripts which cause the effect.

I link to the active script versions, it may be a slightly different line number in your version.

Alternatively, you could overrule this with an external userChrome style rule (I do it this way, I actually apply it to more buttons):

:is(
    #custom-downloads-button,
    #uc_undo_closetab_button,
    #uc-restart
) .toolbarbutton-icon {
    transform: none !important;
}

transform: unset would also work.