mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
Fix broken ImGui time picker unit dropdown (closes #2639)
This commit is contained in:
@@ -348,7 +348,7 @@ void GuiSpaceTimeComponent::render() {
|
||||
openspace::TimeUnits.end(),
|
||||
std::string(""),
|
||||
[](const std::string& a, const openspace::TimeUnit& unit) {
|
||||
return fmt::format("{}{} / second\0", a, nameForTimeUnit(unit, true));
|
||||
return fmt::format("{}{} / second", a, nameForTimeUnit(unit, true)) + '\0';
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user