mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 03:05:53 +08:00
parent
a690f7825c
commit
c22dfb8410
@ -342,6 +342,9 @@ void HintDatabase::load_hints_from_file(const boost::filesystem::path& path)
|
||||
//unescape text1
|
||||
unescape_string_cstyle(dict["text"], fulltext);
|
||||
fulltext = _utf8(fulltext);
|
||||
#ifdef __apple__
|
||||
fulltext = std::regex_replace(fulltext, std::regex("Ctrl"), "Cmd");
|
||||
#endif //__apple__
|
||||
// replace <b> and </b> for imgui markers
|
||||
std::string marker_s(1, ImGui::ColorMarkerStart);
|
||||
std::string marker_e(1, ImGui::ColorMarkerEnd);
|
||||
|
Loading…
x
Reference in New Issue
Block a user