Skip to content
Snippets Groups Projects
Commit fa057093 authored by l.dressen's avatar l.dressen
Browse files

Merge branch '424-margin-for-inside-test-of-correction-tab' into 'master'

subtract margin twice in inside test

Closes #424

See merge request !410
parents e41928fe 12113ec7
No related branches found
No related tags found
1 merge request!410subtract margin twice in inside test
Pipeline #186694 passed
......@@ -85,8 +85,8 @@ std::vector<FailedCheck> checkInside(
progressDialog->setLabelText("Check if trajectories are inside image...");
qApp->processEvents();
const int imgWidth = sequenceSize.width - 1 - 2 * imageBorderSize - margin;
const int imgHeight = sequenceSize.height - 1 - 2 * imageBorderSize - margin;
const int imgWidth = sequenceSize.width - 1 - 2 * imageBorderSize - 2 * margin;
const int imgHeight = sequenceSize.height - 1 - 2 * imageBorderSize - 2 * margin;
const QRectF imgRect(margin, margin, imgWidth, imgHeight);
const QRectF checkRect = imgRect.intersected(rect);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment