reader: zoom the messages with Ctrl+= and Ctrl+-

The reader's text size was fixed, and mail that sets its own sizes in pixels left no way to read it larger. The messages' scroll node now zooms, as a browser zooms a page, and lays them out at its width divided by the scale, so the text still wraps to the card. Ctrl+= and Ctrl+- step through the stops browsers use, from 50% to 300%, and Ctrl+0 resets. The palette offers the same actions, and a pinch or Ctrl+wheel sets any scale in between. Every account's reader shares one scale, which is saved in the top state directory when the app quits rather than on each frame of a pinch.


Author rockorager.dev
Date Commit Parent 6cbaf9a2
+269 -10
6 changed files
+269 -10
6 changed files