mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 04:59:01 +08:00
Command key sign in hints
This commit is contained in:
parent
ba84240a85
commit
f14ec5e9ae
@ -344,7 +344,7 @@ void HintDatabase::load_hints_from_file(const boost::filesystem::path& path)
|
|||||||
unescape_string_cstyle(dict["text"], fulltext);
|
unescape_string_cstyle(dict["text"], fulltext);
|
||||||
fulltext = _utf8(fulltext);
|
fulltext = _utf8(fulltext);
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
boost::replace_all(fulltext, "Ctrl", "Cmd");
|
boost::replace_all(fulltext, "Ctrl+", "⌘");
|
||||||
#endif //__APPLE__
|
#endif //__APPLE__
|
||||||
// replace <b> and </b> for imgui markers
|
// replace <b> and </b> for imgui markers
|
||||||
std::string marker_s(1, ImGui::ColorMarkerStart);
|
std::string marker_s(1, ImGui::ColorMarkerStart);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user