sway_text_node: Consider all output scales when calculating buffer size

This commit is contained in:
Alexander Orzechowski 2024-11-03 16:24:37 -05:00
parent d417a8fcd0
commit a81953cb3e
2 changed files with 36 additions and 19 deletions

View file

@ -6,7 +6,7 @@ struct sway_text_node {
int width;
int max_width;
int height;
int baseline;
float baseline;
bool pango_markup;
float color[4];
float background[4];