projects
/
abiword.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d466bce
)
Cannot disable smooth scrolling
author
Thomas Richter
<richter@rus.uni-stuttgart.de>
Fri, 26 Jul 2019 19:02:13 +0000
(20:02 +0100)
committer
Peter Michael Green
<plugwash@raspbian.org>
Fri, 26 Jul 2019 19:02:13 +0000
(20:02 +0100)
Gbp-Pq: Name 624095-disable_smooth_scrolling.patch
src/text/fmt/xp/fv_View.cpp
patch
|
blob
|
history
diff --git
a/src/text/fmt/xp/fv_View.cpp
b/src/text/fmt/xp/fv_View.cpp
index 46b6cb624ce83fa5cb46124a3719da82ce2db40c..cf32881a110e6459799d91a9aeb79e2fb221e520 100644
(file)
--- a/
src/text/fmt/xp/fv_View.cpp
+++ b/
src/text/fmt/xp/fv_View.cpp
@@
-14357,6
+14357,8
@@
void FV_View::calculateNumHorizPages()
{
m_iNumHorizPages = m_pLayout->countPages();
}
+/* Debian bug #624095: smooth scrolling enabled, preferences ignored.
+ * Commenting to leave decision whenever use the smooth scrolling to user.
if (m_iNumHorizPages > 1)
{
XAP_App::getApp()->setEnableSmoothScrolling(false);
@@
-14365,6
+14367,7
@@
void FV_View::calculateNumHorizPages()
{
XAP_App::getApp()->setEnableSmoothScrolling(true);
}
+*/
if(iOldNo != static_cast<UT_sint32>(m_iNumHorizPages))
{
UT_uint32 iPrevYOffset = m_yScrollOffset;