Radish alpha
r
rad:z39mP9rQAaGmERfUMPULfPUi473tY
Radicle terminal user interface
Radicle
Git
lib/ui: Remove left-over comment
Erik Kundt committed 3 months ago
commit 6d05248d3ad3fc5357456a5442bca660728fc116
parent b79072d
1 file changed +0 -3
modified src/ui/widget.rs
@@ -980,9 +980,6 @@ impl Widget for TextView<'_> {
            ui.theme.border_style
        };
        let length = self.text.lines.len();
-
        // let virtual_length = length * ((length as f64).log2() as usize) / 100;
-
        // let content_length = area.height as usize + virtual_length;
-
        // let content_length = length;
        let content_length = area.height as usize;

        let area = render_block(frame, area, self.borders, border_style);