Skip to content

Commit

Permalink
gui: fix video card list view (#785)
Browse files Browse the repository at this point in the history
  • Loading branch information
cosven authored Jan 26, 2024
1 parent 4cfa943 commit f23baf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feeluown/gui/widgets/img_card_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def paint(self, painter, option, index):

secondary_color = border_color = secondary_text_color(option.palette)
# Draw cover or color.
img_height = int(draw_width * self.w_h_ratio)
img_height = int(draw_width / self.w_h_ratio)
with painter_save(painter):
self.draw_img_or_color(
painter, border_color, obj, draw_width, img_height)
Expand Down

0 comments on commit f23baf3

Please sign in to comment.