mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-11-01 08:00:05 +00:00
Update volume time outside of loop
This commit is contained in:
parent
8d1fcfec7f
commit
eb076307c9
1 changed files with 1 additions and 1 deletions
|
|
@ -886,9 +886,9 @@ void MainWindowImpl::ConnectAnimationSignals()
|
||||||
&manager::TimelineManager::VolumeTimeUpdated,
|
&manager::TimelineManager::VolumeTimeUpdated,
|
||||||
[this](std::chrono::system_clock::time_point dateTime)
|
[this](std::chrono::system_clock::time_point dateTime)
|
||||||
{
|
{
|
||||||
|
volumeTime_ = dateTime;
|
||||||
for (auto map : maps_)
|
for (auto map : maps_)
|
||||||
{
|
{
|
||||||
volumeTime_ = dateTime;
|
|
||||||
map->SelectTime(dateTime);
|
map->SelectTime(dateTime);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue