Fix: selected time is uninitialized on layer initialization

This commit is contained in:
Dan Paulat 2025-04-26 23:03:20 -05:00
parent 3ba569354e
commit 2f2516b998
4 changed files with 11 additions and 0 deletions

View file

@ -112,6 +112,11 @@ public:
TimelineManager::TimelineManager() : p(std::make_unique<Impl>(this)) {}
TimelineManager::~TimelineManager() = default;
std::chrono::system_clock::time_point TimelineManager::GetSelectedTime() const
{
return p->selectedTime_;
}
void TimelineManager::SetMapCount(std::size_t mapCount)
{
p->mapCount_ = mapCount;