Skip to content

Commit

Permalink
Fix x scroll when restoring editor state
Browse files Browse the repository at this point in the history
  • Loading branch information
mls-m5 committed Nov 17, 2023
1 parent 0f55ad1 commit b981878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/scrollview.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class ScrollView : public View {
}

void scroll(size_t x, size_t y) {
xScroll(y);
xScroll(x);
yScroll(y);
}

Expand Down

0 comments on commit b981878

Please sign in to comment.