parent
5a997a5f7a
commit
6ea812679f
@ -35,6 +35,11 @@ mouse anywhere in the current command to move the cursor there. See
|
|||||||
Detailed list of changes
|
Detailed list of changes
|
||||||
-------------------------------------
|
-------------------------------------
|
||||||
|
|
||||||
|
0.27.1 [future]
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
- Fix :opt:`modify_font` not working for strikethrough position (:iss:`5946`)
|
||||||
|
|
||||||
0.27.0 [2023-01-31]
|
0.27.0 [2023-01-31]
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
|||||||
@ -387,7 +387,7 @@ calc_cell_metrics(FontGroup *fg) {
|
|||||||
int adjustment = baseline - baseline_before;
|
int adjustment = baseline - baseline_before;
|
||||||
baseline = adjust_ypos(baseline_before, cell_height, adjustment);
|
baseline = adjust_ypos(baseline_before, cell_height, adjustment);
|
||||||
underline_position = adjust_ypos(underline_position, cell_height, adjustment);
|
underline_position = adjust_ypos(underline_position, cell_height, adjustment);
|
||||||
strikethrough_position = adjust_ypos(underline_position, cell_height, adjustment);
|
strikethrough_position = adjust_ypos(strikethrough_position, cell_height, adjustment);
|
||||||
}
|
}
|
||||||
|
|
||||||
underline_position = MIN(cell_height - 1, underline_position);
|
underline_position = MIN(cell_height - 1, underline_position);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user