Skip to content

Commit 49ca67d

Browse files
authored
Fix minimum_height not scaled with dpi_scale like minimum_width (#1980)
1 parent b0e2ec4 commit 49ca67d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/conky.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ void update_text_area() {
862862
last_font_height = font_height();
863863
for_each_line(text_buffer, text_size_updater);
864864

865-
text_size = text_size.max(conky::vec2i(text_size.x() + 1, minimum_height.get(*state)));
865+
text_size = text_size.max(conky::vec2i(text_size.x() + 1, dpi_scale(minimum_height.get(*state))));
866866
int mw = dpi_scale(maximum_width.get(*state));
867867
if (mw > 0) text_size = text_size.min(conky::vec2i(mw, text_size.y()));
868868
}

0 commit comments

Comments
 (0)