ocarina: Maximum album art size
Change song while on tiny footer Expand to large footer Look at the HUGE album art image To fix this, I set a maximum size that album art can be
This commit is contained in:
parent
e60848c119
commit
6482dc157b
|
@ -58,6 +58,8 @@ sa_id = page.connect("size-allocate", resize_art)
|
|||
|
||||
def set_art(path):
|
||||
height = page.get_allocation().height
|
||||
if height > 64:
|
||||
height = 64
|
||||
ARTWORK.set_image(path, height)
|
||||
|
||||
def on_like():
|
||||
|
|
Loading…
Reference in New Issue