mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-11 05:33:55 -04:00
term: increase/decrease custom line-height with font size changes
When the user has set a custom line-height, we now adjust it when increasing/decreasing (“zooming”) the font size at run-time. Previously, the line-height was fixed at the size specified in foot.ini.
This commit is contained in:
parent
57a663a0c7
commit
7609fbba47
4 changed files with 22 additions and 8 deletions
6
config.h
6
config.h
|
|
@ -53,12 +53,6 @@ struct config_mouse_binding {
|
|||
struct config_binding_pipe pipe;
|
||||
};
|
||||
|
||||
/* If px != 0 then px is valid, otherwise pt is valid */
|
||||
struct pt_or_px {
|
||||
int16_t px;
|
||||
float pt;
|
||||
};
|
||||
|
||||
struct config_spawn_template {
|
||||
char *raw_cmd;
|
||||
char **argv;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue