mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-06-20 06:18:29 +00:00
commit
e8792e446a
@ -32,7 +32,7 @@ namespace ui {
|
|||||||
void FileManBaseView::load_directory_contents(const std::filesystem::path& dir_path) {
|
void FileManBaseView::load_directory_contents(const std::filesystem::path& dir_path) {
|
||||||
current_path = dir_path;
|
current_path = dir_path;
|
||||||
|
|
||||||
text_current.set(dir_path.string().substr(0, 30 - 8));
|
text_current.set(dir_path.string().length()? dir_path.string().substr(0, 30 - 6):"(sd root)");
|
||||||
|
|
||||||
entry_list.clear();
|
entry_list.clear();
|
||||||
|
|
||||||
|
@ -85,10 +85,10 @@ protected:
|
|||||||
void refresh_list();
|
void refresh_list();
|
||||||
|
|
||||||
Labels labels {
|
Labels labels {
|
||||||
{ { 0, 0 }, "Current:", Color::light_grey() }
|
{ { 0, 0 }, "Path:", Color::light_grey() }
|
||||||
};
|
};
|
||||||
Text text_current {
|
Text text_current {
|
||||||
{ 8 * 8, 0 * 8, 22 * 8, 16 },
|
{ 6 * 8, 0 * 8, 24 * 8, 16 },
|
||||||
"",
|
"",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user