summaryrefslogtreecommitdiff
path: root/src/scenes/puzzleScene.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/scenes/puzzleScene.c')
-rw-r--r--src/scenes/puzzleScene.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scenes/puzzleScene.c b/src/scenes/puzzleScene.c
index fb45c02..8824a09 100644
--- a/src/scenes/puzzleScene.c
+++ b/src/scenes/puzzleScene.c
@@ -8,6 +8,7 @@ typedef struct {
Puzzle *PuzzlePtr;
TextArea *EditorInfo;
int scroll;
+ int editor_scroll;
} puzzleSceneData;
const int HEADER_FONT_SIZE = 50;
@@ -73,7 +74,7 @@ bool drawPuzzleScene(void *self) {
DrawTextInRec(pane1, data->PuzzlePtr->Description,
GetMainFont(), 20, COLORSCHEME_BROWN, 3, &data->scroll);
- DrawTextArea(data->EditorInfo, pane2, GetMainFont(), 20, 2);
+ DrawTextArea(data->EditorInfo, pane2, GetMainFont(), 20, 2, &data->editor_scroll);
return true;
}