mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 11:47:25 +01:00
Handle current item on playlist page
This commit is contained in:
parent
7d21617e9a
commit
7110401f61
8 changed files with 83 additions and 32 deletions
|
|
@ -19,7 +19,7 @@ template $MusicusPlaylistPage : Adw.Bin {
|
|||
Gtk.ScrolledWindow {
|
||||
hscrollbar-policy: never;
|
||||
|
||||
Adw.Clamp {
|
||||
Adw.ClampScrollable {
|
||||
maximum-size: 1000;
|
||||
tightening-threshold: 600;
|
||||
|
||||
|
|
@ -30,6 +30,7 @@ template $MusicusPlaylistPage : Adw.Bin {
|
|||
margin-start: 12;
|
||||
margin-end: 12;
|
||||
single-click-activate: true;
|
||||
activate => $select_item() swapped;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,6 +5,8 @@ template $MusicusPlaylistTile : Gtk.Box {
|
|||
styles ["playlisttile"]
|
||||
|
||||
Adw.Bin {
|
||||
valign: end;
|
||||
margin-bottom: 12;
|
||||
width-request: 48;
|
||||
|
||||
Gtk.Image playing_icon {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue