mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-30 06:32:42 +00:00
Fix scroll in Preview window (fix #811)
Regression bug introduced in 9772f99303b5b6ab7cd0561c68bbe9de402ae814
This commit is contained in:
parent
09e18ddf2b
commit
629bea41a8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user