change: now, instead of the full path to the file, only its name is displayed at the top

This commit is contained in:
2025-09-26 23:08:21 +03:00
parent ab60e6b0ab
commit 7f0e6f7996
+4 -2
View File
@@ -74,8 +74,10 @@ impl SoundpadGui {
RichText::new(
self.audio_player_state
.current_file_path
.to_string_lossy()
.to_string(),
.file_stem()
.unwrap_or_default()
.to_str()
.unwrap_or_default(),
)
.color(Color32::WHITE)
.family(FontFamily::Monospace),