View: Fix #515 by fixing typo and extent handling
authorSoeren Apel <soeren@apelpie.net>
Sat, 13 Dec 2014 10:20:03 +0000 (10:20 +0000)
committerJoel Holdsworth <joel@airwebreathe.org.uk>
Sat, 13 Dec 2014 10:20:03 +0000 (10:20 +0000)
commitf1d9ac673ce644a7e2397bd1c4687083157f4a17
treee876d9ac345a55184c984726d9ebd483fa89dfdf
parent82ba380c459cc3d0d13e2326aa4a9780614a8fde
View: Fix #515 by fixing typo and extent handling

Typo: extents.first instead of extents.second

The extra scoll height was too large and could result in all
traces being removed from view. To avoid this, the user now has
half of the view height as extra scroll height.
pv/view/view.cpp