aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2013-02-18 10:41:21 +1100
committernyamatongwe <devnull@localhost>2013-02-18 10:41:21 +1100
commit02b2001a78189a0f4a6c3b51849efba161e0f7ab (patch)
treed14cab6fb081645cd057ba6a220e932ba9aee4bc /src
parent732796abe45c95b88d091b875f855e331b7839f2 (diff)
downloadscintilla-mirror-02b2001a78189a0f4a6c3b51849efba161e0f7ab.tar.gz
Bug: [#1446]. Display thumb at correct position when SetVScrollBar(true) called.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 7d449663e..c72c6acff 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -8067,6 +8067,8 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) {
verticalScrollBarVisible = wParam != 0;
SetScrollBars();
ReconfigureScrollBars();
+ if (verticalScrollBarVisible)
+ SetVerticalScrollPos();
}
break;