mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 18:50:05 +00:00
Highlight active map
This commit is contained in:
parent
8b515dd3d2
commit
9ff6eabd2a
6 changed files with 81 additions and 9 deletions
|
|
@ -312,6 +312,11 @@ void MainWindowImpl::SetActiveMap(map::MapWidget* mapWidget)
|
|||
}
|
||||
|
||||
activeMap_ = mapWidget;
|
||||
|
||||
for (map::MapWidget* widget : maps_)
|
||||
{
|
||||
widget->SetActive(mapWidget == widget);
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindowImpl::UpdateElevationSelection(float elevation)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue