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.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/scenes/puzzleScene.c b/src/scenes/puzzleScene.c
index 8824a09..d49b530 100644
--- a/src/scenes/puzzleScene.c
+++ b/src/scenes/puzzleScene.c
@@ -67,6 +67,10 @@ bool drawPuzzleScene(void *self) {
DrawPuzzleName(data->PuzzlePtr->Name);
Rectangle body = GetBodyRect();
+ DrawRecBordered(body, WHITE, COLORSCHEME_ORANGE, BORDER);
+ DrawTextArea(data->EditorInfo, body, GetMonoFont(), 20, 2, &data->editor_scroll);
+ return true;
+
Rectangle pane1, pane2;
GetPanesSplit(&pane1, &pane2, body, 0.5, 0.4);
DrawRecBordered(pane1, WHITE, COLORSCHEME_ORANGE, BORDER);
@@ -74,7 +78,7 @@ bool drawPuzzleScene(void *self) {
DrawTextInRec(pane1, data->PuzzlePtr->Description,
GetMainFont(), 20, COLORSCHEME_BROWN, 3, &data->scroll);
- DrawTextArea(data->EditorInfo, pane2, GetMainFont(), 20, 2, &data->editor_scroll);
+ DrawTextArea(data->EditorInfo, pane2, GetMonoFont(), 20, 2, &data->editor_scroll);
return true;
}