diff options
Diffstat (limited to 'src/Canvas.cpp')
-rw-r--r-- | src/Canvas.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Canvas.cpp b/src/Canvas.cpp index a461a6e..01e6296 100644 --- a/src/Canvas.cpp +++ b/src/Canvas.cpp @@ -803,6 +803,10 @@ apply_force(GanvNode* a, GanvNode* b, const Vector& f) gboolean GanvCanvasImpl::layout_iteration() { + if (_drag_state == EDGE) { + return FALSE; // Canvas is locked, halt layout process + } + static const double T_PER_US = .0001; // Sym time per real microsecond static uint64_t prev = 0; // Previous iteration time |