Skip to content
Snippets Groups Projects
Commit 6ddb3306 authored by Julien Michel's avatar Julien Michel
Browse files

ENH: Reducing navigation steps when arrow keys are used, so as to ease navigation

parent 10dc27a4
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,7 @@ public:
index[1] = static_cast<int>(imagePoint[1]);
// Move
index[1] -= size[1];
index[1] -= size[1]/4;
// Change scaled extract region center
m_Model->SetExtractRegionCenter(index);
......@@ -133,7 +133,7 @@ public:
index[1] = static_cast<int>(imagePoint[1]);
// Move
index[1] += size[1];
index[1] += size[1]/4;
// Change scaled extract region center
m_Model->SetExtractRegionCenter(index);
......@@ -161,7 +161,7 @@ public:
index[1] = static_cast<int>(imagePoint[1]);
// Move
index[0] -= size[0];
index[0] -= size[0]/4;
// Change scaled extract region center
m_Model->SetExtractRegionCenter(index);
......@@ -189,7 +189,7 @@ public:
index[1] = static_cast<int>(imagePoint[1]);
// Move
index[0] += size[0];
index[0] += size[0]/4;
// Change scaled extract region center
m_Model->SetExtractRegionCenter(index);
......
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