Fix English desktop mapping and host file input issues (by Codex)

Correct setup sprites, balance colour and shortcut controls; restore native filename focus, normalize displayed directory separators and guard setup mouse releases. Refs #7, #8, #9, #10.
This commit is contained in:
Codex committed 2026-10-17 22:36:58 +02:00
1 parent 9bff07828a
commit 8326a23274
10 files changed
+172 -4

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
// SPDX-License-Identifier: GPL-3.0-only
#pragma once
#include <filesystem>
#include <string>
namespace bmh::ui {
// Host paths use portable separators: the legacy font's backslash glyph is Ö.
inline std::string save_directory_label(const std::filesystem::path& directory) {
const auto value = directory.generic_u8string();
return std::string(value.begin(), value.end());
}
} // namespace bmh::ui