Improved image rendering: fix max-height
authorAlex Schroeder <alex@gnu.org>
Tue, 3 Aug 2021 07:21:24 +0000 (09:21 +0200)
committerAlex Schroeder <alex@gnu.org>
Tue, 3 Aug 2021 07:21:24 +0000 (09:21 +0200)
window-pixel-height's return value includes the mode line and header
line and the bottom divider, if any. In order for the image to fit
exactly, we therefore subtract window-header-line-height,
window-mode-line-height window, window-scroll-bar-height window, and
window-bottom-divider-width.


No differences found