Update deps (specifically the forks of ratatui and ratatui-image)

This commit is contained in:
itsjunetime
2024-08-10 14:30:05 -06:00
parent 248c9b073a
commit f0c0e06c1c
8 changed files with 98 additions and 81 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ impl Widget for Skip {
fn render(self, area: ratatui::prelude::Rect, buf: &mut ratatui::prelude::Buffer) {
for x in area.x..(area.x + area.width) {
for y in area.y..(area.y + area.height) {
buf.get_mut(x, y).skip = self.skip;
buf[(x, y)].skip = self.skip;
}
}
}
+2 -2
View File
@@ -84,7 +84,7 @@ impl Tui {
])
.horizontal_margin(2)
.vertical_margin(1)
.split(frame.size())
.split(frame.area())
}
// TODO: Make a way to fill the width of the screen with one page and scroll down to view it
@@ -185,7 +185,7 @@ impl Tui {
let mut img_area = main_area[1];
let size = frame.size();
let size = frame.area();
if size == self.last_render.rect {
// If we haven't resized (and haven't used the Rect as a way to mark that we need to
// resize this time), then go through every element in the buffer where any Image would