mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-05 23:49:20 +00:00
When in non continous mode and scrolling up a page, set the viewport at the bottom of the page (Albert)
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=370246
This commit is contained in:
parent
f7406846d0
commit
f46c9176e4
|
@ -68,6 +68,7 @@ More items (first items will enter 'In progress list' first):
|
||||||
-> investigate 'Splash' lack of smoothness at low resolutions (see lines in thumbnails)
|
-> investigate 'Splash' lack of smoothness at low resolutions (see lines in thumbnails)
|
||||||
|
|
||||||
Done (newest feature comes firts):
|
Done (newest feature comes firts):
|
||||||
|
-> FIX: When in non continous mode and scrolling up a page, set the viewport at the bottom of the page (Albert)
|
||||||
-> FIX: Dynamic zoom repaints the page while rescaling.
|
-> FIX: Dynamic zoom repaints the page while rescaling.
|
||||||
-> ADD: Show the window maximized when the user opens the program for the very first time (Albert)
|
-> ADD: Show the window maximized when the user opens the program for the very first time (Albert)
|
||||||
-> ADD: Use 'Generators' as providers for contents generation.
|
-> ADD: Use 'Generators' as providers for contents generation.
|
||||||
|
|
|
@ -795,7 +795,10 @@ void PageView::wheelEvent( QWheelEvent *e )
|
||||||
{
|
{
|
||||||
// go to prev page
|
// go to prev page
|
||||||
if ( d->vectorIndex > 0 )
|
if ( d->vectorIndex > 0 )
|
||||||
|
{
|
||||||
d->document->setCurrentPage( d->items[ d->vectorIndex - 1 ]->pageNumber() );
|
d->document->setCurrentPage( d->items[ d->vectorIndex - 1 ]->pageNumber() );
|
||||||
|
verticalScrollBar()->setValue(verticalScrollBar()->maxValue());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
QScrollView::wheelEvent( e );
|
QScrollView::wheelEvent( e );
|
||||||
|
|
Loading…
Reference in a new issue