[aseprite] 59/250: Fix scroll in Preview window (fix #811)

Tobias Hansen thansen at moszumanska.debian.org
Sun Dec 20 15:27:11 UTC 2015


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit 629bea41a8d7e237e185d2ff63085e40f247f14e
Author: David Capello <davidcapello at gmail.com>
Date:   Fri Sep 18 16:35:29 2015 -0300

    Fix scroll in Preview window (fix #811)
    
    Regression bug introduced in 9772f99303b5b6ab7cd0561c68bbe9de402ae814
---
 src/ui/view.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/ui/view.cpp b/src/ui/view.cpp
index 3e61914..274902f 100644
--- a/src/ui/view.cpp
+++ b/src/ui/view.cpp
@@ -104,6 +104,8 @@ void View::setScrollableSize(const Size& sz)
     if (m_scrollbar_v.getParent()) removeChild(&m_scrollbar_v);
     m_scrollbar_h.setVisible(false);
     m_scrollbar_v.setVisible(false);
+    m_scrollbar_h.setSize(sz.w);
+    m_scrollbar_v.setSize(sz.h);
   }
 
   // Setup viewport

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git



More information about the Pkg-games-commits mailing list