summaryrefslogtreecommitdiff
path: root/src/scenes/puzzleScene.c
diff options
context:
space:
mode:
authorPhysick <96335032+DegustatorPonos@users.noreply.github.com>2026-07-09 13:56:13 +0500
committerPhysick <96335032+DegustatorPonos@users.noreply.github.com>2026-07-10 00:04:44 +0500
commit90988da0bdae2c56366abb01f402a0cd34279143 (patch)
treea8bc34825fe72ef206bdfd321479f7a6060dceb7 /src/scenes/puzzleScene.c
parentb5140b780170bc4d6f2e6ed9a50319f9165b0a77 (diff)
QOL changes + some emacs-like movements
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;
}