electron / libchromiumcontent

Shared library build of Chromium’s Content module
MIT License
486 stars 183 forks source link

feat: add patch to allow overriding scroll bounce in Electron #602

Closed MarshallOfSound closed 6 years ago

MarshallOfSound commented 6 years ago

This reverses the patch in Chromium that made our per-window logic stop working. Not sure if it's the best thing to do but it at least restores the old behavior

cc @sethlu @gnahzak

deepak1556 commented 6 years ago

but it at least restores the old behavior

This won't restore the old behavior as the NSScrollViewRubberbanding pref value is read from the browser process instead of renderer since https://chromium-review.googlesource.com/c/chromium/src/+/580672, so setting it for per window is no more an option.