Skip to content

Commit f3c2e59

Browse files
committed
port documentation
1 parent f1380a5 commit f3c2e59

3 files changed

Lines changed: 477 additions & 120 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)