Reseting zoom on browser (PC) via Ctrl+0

An update (I’m guessing it has to do with character reordering or selecting perhaps?) recently broke the browser’s zoom reset (ctrl+0).

Steps to reproduce: Zoom in or out via Ctrl + or Ctrl -, and then try reseting via Ctrl 0.

This may have been broken by this commit which changes the ctrl+[number] tab selection for when you have multiple characters in play.

Previously, preventDefault() is called only if _setActive() returns true, which it might not have for tab 0. Now it is called as long as it is a number, which would include 0 but exclude + or -.

1 Like

Green is completely correct in what the cause is.
My mistake!

I will return default behavior (eg. Zoom to 100% for Ctrl + 0) for numbers exceeding max controlled characters.

Thanks for pointing it out!

1 Like