Skip to content

Commit 7d55f1d

Browse files
committed
port documentation
1 parent f1380a5 commit 7d55f1d

3 files changed

Lines changed: 492 additions & 124 deletions

File tree

examples/sync_scrollbars/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ int main(int argc, char* argv[])
4545
// Second scrollers will follow first scroller position
4646
scr.on_scroll = [&](point p)
4747
{
48-
scr2.set_position(p);
48+
scr2.set_alignment(p);
4949
view_.layout();
5050
view_.refresh();
5151
};

0 commit comments

Comments
 (0)