changed number of fingerprint scans
minor parameter changes more log lines added VAP log to UI (debug) fixed missing wifi timestamp for android live data
This commit is contained in:
@@ -158,10 +158,12 @@ void MapView2D::mouseReleaseEvent(QMouseEvent* evt) {
|
||||
|
||||
const Point2 p1(evt->x(), evt->y());
|
||||
|
||||
// fingerprint node pressed?
|
||||
const int fpSize = UIHelper::isLarge(this->parent()) ? (40) : (25);
|
||||
int idx = 0;
|
||||
for (const Point2 p2 : wifiCalib->getNodes()) {
|
||||
const float dist = p1.getDistance(p2);
|
||||
if (dist < 25) { wifiCalib->selectNode(idx); emit update(); break; }
|
||||
if (dist < fpSize) { wifiCalib->selectNode(idx); emit update(); break; }
|
||||
++idx;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user