]> err.no Git - libchamplain/commit
Fix 594963: Initial scrolling results in map being in Antarctica
authorPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Sun, 13 Sep 2009 03:25:44 +0000 (23:25 -0400)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Sun, 13 Sep 2009 04:14:11 +0000 (00:14 -0400)
commit329ab16d3395a1ae395d2c55807d98246ccaa62c
tree0d6bf8a569df118928bf0bf5a27e73ac5082d02c
parentada4b7cdd83a1ad4cc46d11c82d49dc37fd27092
Fix 594963: Initial scrolling results in map being in Antarctica

The anchor that was being used was resulting in negative x or y values
which were clamped back to positive values by TidyAdjustments.

This patch makes sure that a new anchor is computed if the anchor
would create negative x or y.
champlain/champlain-view.c