mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-15 07:29:15 +01:00
GCS - Map cleaning
This commit is contained in:
parent
bb7e85cf2c
commit
8fbef19f5b
@ -216,9 +216,10 @@ namespace mapcontrol
|
||||
}
|
||||
void MapGraphicItem::mousePressEvent(QGraphicsSceneMouseEvent *event)
|
||||
{
|
||||
|
||||
qDebug()<<"mouse press";
|
||||
if(!IsMouseOverMarker())
|
||||
{
|
||||
qDebug()<<"not over marker";
|
||||
if(event->button() == config->DragButton && CanDragMap()&& !((event->modifiers()==Qt::ShiftModifier)||(event->modifiers()==Qt::ControlModifier)))
|
||||
{
|
||||
core->mouseDown.SetX(event->pos().x());
|
||||
|
Loading…
x
Reference in New Issue
Block a user