fix fallback scaling for background images

We weren't redrawing the background image with the scale factor
that we'd computed when noticing that we had run out of texture space.

refs: #3773
This commit is contained in:
Wez Furlong committed 2023-05-27 14:06:18 -07:00
1 parent 13c0ba3776
commit 9b31092e1d
1 file changed
+1 -1
+1 -1
View File
@@ -188,7 +188,7 @@ impl crate::TermWindow {
// Render the full window background
match (self.window_background.is_empty(), self.allow_images) {
(false, AllowImage::Yes) => {
(false, AllowImage::Yes | AllowImage::Scale(_)) => {
let bg_color = self.palette().background.to_linear();
let top = panes