mirror of
https://seed.radicle.dev/rad:z39mP9rQAaGmERfUMPULfPUi473tY.git
synced 2026-11-29 14:30:31 +08:00
lib/bin: Fix clippy warnings
This commit is contained in:
+1
-1
@@ -798,7 +798,7 @@ impl<'a> Widget for TextView<'a> {
|
||||
|
||||
frame.render_stateful_widget(scroller, scroller_area, &mut scroller_state);
|
||||
frame.render_widget(
|
||||
Paragraph::new(self.text.clone()).scroll((self.cursor.x as u16, self.cursor.y as u16)),
|
||||
Paragraph::new(self.text.clone()).scroll((self.cursor.x, self.cursor.y)),
|
||||
text_area,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user