This commit is contained in:
psykose 2024-11-16 14:14:17 +01:00
parent 6f6fcc5a23
commit e5d47e1dc4
Signed by: psykose
SSH key fingerprint: SHA256:pRMVjV3kRB6zl+wNx+sV8KoMnPqQAW6v8dNCxsCGZv8
3 changed files with 1 additions and 19 deletions

View file

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="64px" height="64px" fill="#000000" version="1.1" viewBox="0 0 471.7 471.7" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
<!--
license CC0
https://www.svgrepo.com/svg/13666/heart
-->
<path d="m433.6 67.001c-24.7-24.7-57.4-38.2-92.3-38.2s-67.7 13.6-92.4 38.3l-12.9 12.9-13.1-13.1c-24.7-24.7-57.6-38.4-92.5-38.4-34.8 0-67.6 13.6-92.2 38.2-24.7 24.7-38.3 57.5-38.2 92.4 0 34.9 13.7 67.6 38.4 92.3l187.8 187.8c2.6 2.6 6.1 4 9.5 4s6.9-1.3 9.5-3.9l188.2-187.5c24.7-24.7 38.3-57.5 38.3-92.4 0.1-34.9-13.4-67.7-38.1-92.4zm-19.2 165.7-178.7 178-178.3-178.3c-19.6-19.6-30.4-45.6-30.4-73.3s10.7-53.7 30.3-73.2c19.5-19.5 45.5-30.3 73.1-30.3 27.7 0 53.8 10.8 73.4 30.4l22.6 22.6c5.3 5.3 13.8 5.3 19.1 0l22.4-22.4c19.6-19.6 45.7-30.4 73.3-30.4s53.6 10.8 73.2 30.3c19.6 19.6 30.3 45.6 30.3 73.3 0.1 27.7-10.7 53.7-30.3 73.3z" fill="#2e3434" fill-opacity=".55"/>
</svg>

Before

Width:  |  Height:  |  Size: 918 B

View file

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="64px" height="64px" fill="#000000" version="1.1" viewBox="0 0 471.7 471.7" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
<!--
license CC0
https://www.svgrepo.com/svg/13666/heart
-->
<path d="m433.6 67.001c-24.7-24.7-57.4-38.2-92.3-38.2s-67.7 13.6-92.4 38.3l-12.9 12.9-13.1-13.1c-24.7-24.7-57.6-38.4-92.5-38.4-34.8 0-67.6 13.6-92.2 38.2-24.7 24.7-38.3 57.5-38.2 92.4 0 34.9 13.7 67.6 38.4 92.3l187.8 187.8c2.6 2.6 6.1 4 9.5 4s6.9-1.3 9.5-3.9l188.2-187.5c24.7-24.7 38.3-57.5 38.3-92.4 0.1-34.9-13.4-67.7-38.1-92.4z" fill="#2e3434" fill-opacity=".7"/></svg>

Before

Width:  |  Height:  |  Size: 618 B

View file

@ -673,7 +673,7 @@ mod imp {
match window.song() {
Some(song) if song.id() == song_id => {
let loader = gtk::gdk_pixbuf::PixbufLoader::new(); // TODO: pass mime type?
let loader = gtk::gdk_pixbuf::PixbufLoader::new();
loader.write(&bytes).unwrap();
loader.close().unwrap();
let pixbuf = loader.pixbuf().unwrap();