Add licensing, readme, todo file
Fix the cursor showing as the 'edit text' type when hovering over a playlist in the side nav bar
This commit is contained in:
@@ -3,8 +3,6 @@
|
||||
|
||||
use config::ConfigWrapper;
|
||||
|
||||
|
||||
// TODO: Possibly use https://docs.rs/ytextract/latest/ytextract/ instead of ytdlp
|
||||
mod manifest;
|
||||
mod logger;
|
||||
mod downloader;
|
||||
@@ -16,6 +14,8 @@ mod ui;
|
||||
mod prompt;
|
||||
mod data;
|
||||
|
||||
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
let Ok(cfg) = ConfigWrapper::parse() else {
|
||||
|
||||
@@ -32,7 +32,8 @@ impl ComponentUi for SideNav {
|
||||
} else {
|
||||
text = RichText::new(&pname);
|
||||
}
|
||||
let button = Label::new(text).sense(Sense::click());
|
||||
|
||||
let button = Label::new(text).sense(Sense::click()).selectable(false);
|
||||
if ui.add(button).clicked() {
|
||||
gui.current_playlist = pname.to_string();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user