mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-29 21:00:06 +00:00
Merge pull request #489 from AdenKoperczak/alerts_on_mouse_up
Switch alert clicks to mouse button release
This commit is contained in:
commit
b8e9cb659e
1 changed files with 1 additions and 1 deletions
|
|
@ -891,7 +891,7 @@ void AlertLayer::Impl::HandleGeoLinesEvent(
|
||||||
|
|
||||||
switch (ev->type())
|
switch (ev->type())
|
||||||
{
|
{
|
||||||
case QEvent::Type::MouseButtonPress:
|
case QEvent::Type::MouseButtonRelease:
|
||||||
{
|
{
|
||||||
auto it = segmentsByLine_.find(di);
|
auto it = segmentsByLine_.find(di);
|
||||||
if (it != segmentsByLine_.cend())
|
if (it != segmentsByLine_.cend())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue