Repository navigation
Conversation
|
Wow the magic of floating point. So it doesn't zoom with this value? Can you add a comment to this code line for posterity? |
Yeah, I cannot reproduce the problem with my Macbook's trackpad.
👍 @atom/feedback: could you try this out and see if it works for you as well? Reproduction steps can be found in #8850. Thanks! 🙇 |
|
Huh, I can't reproduce this on |
Huh, I can't either. |
|
I tried running I am a little lost honestly... Maybe some outdated package that caused this to fail? I'll keep trying to reproduce it. 😞 |
|
Okay, I think I found what's wrong. Will open a PR in a bit to show the problem and a solution. Thanks everyone for the feedback! ✨ |
Fixes #8850.
There seems to be an issue with how Chromium handles the input data for the
setZoomLevelLimitsAPI: I suspect there's some kind of guard clause that ignores that function call whenever theminand themaxlevel limits are the same.As a stopgap measure, I have changed the max limit to be slightly larger than the minimum so that the configuration gets enforced by Chromium without actually allowing the user to zoom.
/cc: @zcbenz for 👀 on the electron side.
/cc: @atom/core