fix: use extreme style values (14/20/26 font), remove RichText::line_height, fix para spacing threshold
This commit is contained in:
@@ -55,8 +55,7 @@ pub fn reading_view(
|
||||
};
|
||||
|
||||
let panel_size = ui.available_size();
|
||||
let line_h = style.line_height();
|
||||
recalculate_pages(book, style.font_size, line_h, panel_size.x, panel_size.y);
|
||||
recalculate_pages(book, style.font_size, style.line_height(), panel_size.x, panel_size.y);
|
||||
|
||||
let colors = theme::reader_colors(theme);
|
||||
|
||||
@@ -220,7 +219,6 @@ pub fn reading_view(
|
||||
egui::Label::new(
|
||||
egui::RichText::new(&indented)
|
||||
.size(style.font_size)
|
||||
.line_height(Some(style.line_height()))
|
||||
.color(colors.text)
|
||||
).wrap()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user