fix: remove double width inset in recalculate_pages, match rendering width
This commit is contained in:
@@ -126,8 +126,7 @@ pub fn recalculate_pages(
|
||||
panel_height: f32,
|
||||
style: &StyleProfile,
|
||||
) {
|
||||
let inset = 24.0;
|
||||
let available_width = (panel_width - inset * 2.0).max(100.0);
|
||||
let available_width = panel_width.max(100.0);
|
||||
let available_height = panel_height.max(100.0);
|
||||
|
||||
let indent_str = if style.first_line_indent > 0.0 {
|
||||
|
||||
Reference in New Issue
Block a user