mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 16:50:06 +00:00
Display mouse cursor icon on maps when Ctrl is held
This commit is contained in:
parent
9cb29c6b9a
commit
f4bc2572d2
7 changed files with 68 additions and 5 deletions
|
|
@ -824,6 +824,11 @@ void MainWindowImpl::ConnectMapSignals()
|
|||
coordinateLabel_->setText(
|
||||
QString("%1, %2").arg(latitude).arg(longitude));
|
||||
coordinateLabel_->setVisible(true);
|
||||
|
||||
for (auto& map : maps_)
|
||||
{
|
||||
map->UpdateMouseCoordinate(coordinate);
|
||||
}
|
||||
},
|
||||
Qt::QueuedConnection);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue