Commit aa32cc7d authored by Aleksei Kanash's avatar Aleksei Kanash

Rubber band works upper background images.

parent a5c891c6
......@@ -919,6 +919,10 @@ void UBBoardView::mousePressEvent (QMouseEvent *event)
event->ignore();
return;
}
if (scene()->backgroundObject() == movingItem)
movingItem = NULL;
connect(&mLongPressTimer, SIGNAL(timeout()), this, SLOT(longPressEvent()));
if (!movingItem && !mController->cacheIsVisible())
mLongPressTimer.start();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment