diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2014-02-05 18:57:02 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-02-05 09:27:39 -0800 |
commit | 4ccd6fb3b6b593bf5de4b668afe612a916853efb (patch) | |
tree | 5e57f22a989c6cef8db1e8f9d9f70620d67f2966 /Documentation/images/Group2.jpg | |
parent | a649bcc7bc0006cc78ac547716d8bebf8b63267c (diff) | |
download | subsurface-4ccd6fb3b6b593bf5de4b668afe612a916853efb.tar.gz |
Fix the zoom-panning for the new profile
This works in a different way compared to the old widget.
To make it work we use vieport()'s height() and width()
and simplify the scroll position to:
scrollPosition = (mousePosition / totalLength) * scrollMaximum
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Documentation/images/Group2.jpg')
0 files changed, 0 insertions, 0 deletions