diff options
Diffstat (limited to 'src/layout/space/Space.cpp')
| -rw-r--r-- | src/layout/space/Space.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/layout/space/Space.cpp b/src/layout/space/Space.cpp index 33e5bb8c..db3925f6 100644 --- a/src/layout/space/Space.cpp +++ b/src/layout/space/Space.cpp @@ -183,6 +183,11 @@ void CSpace::moveTargetInDirection(SP<ITarget> t, Math::eDirection dir, bool sil m_algorithm->moveTargetInDirection(t, dir, silent); } +void CSpace::setTargetGeom(const CBox& box, SP<ITarget> target) { + if (m_algorithm) + m_algorithm->setTargetGeom(box, target); +} + SP<ITarget> CSpace::getNextCandidate(SP<ITarget> old) { return !m_algorithm ? nullptr : m_algorithm->getNextCandidate(old); } |
