Skip to content

Commit c6eb5ad

Browse files
author
runrevali
committed
[[ Bug 12764 ]] Update the stack viewport after applying menu scroll
1 parent a5b3aac commit c6eb5ad

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

docs/notes/bugfix-12764.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# setting the effective rect of a stack with vscroll > 0 doesn't work properly

engine/src/desktop-stack.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,8 @@ MCRectangle MCStack::view_platform_setgeom(const MCRectangle &p_rect)
236236

237237
void MCStack::syncscroll(void)
238238
{
239+
// AL-2014-07-22: [[ Bug 12764 ]] Update the stack viewport after applying menu scroll
240+
view_setstackviewport(rect);
239241
// COCOA-TODO: Make sure contained views also scroll (?)
240242
}
241243

0 commit comments

Comments
 (0)