diff options
-rw-r--r-- | views/controls/scrollbar/bitmap_scroll_bar.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/controls/scrollbar/bitmap_scroll_bar.cc b/views/controls/scrollbar/bitmap_scroll_bar.cc index 7770768..0736501 100644 --- a/views/controls/scrollbar/bitmap_scroll_bar.cc +++ b/views/controls/scrollbar/bitmap_scroll_bar.cc @@ -117,7 +117,7 @@ class BitmapScrollBarThumb : public View { if (scroll_bar_->IsHorizontal()) { thumb_bounds.set_x(track_bounds.x() + position); } else { - thumb_bounds.set_x(track_bounds.y() + position); + thumb_bounds.set_y(track_bounds.y() + position); } SetBounds(thumb_bounds); } |