Skip to content

Commit

Permalink
Move gui/journal help screen from text_editor to actual journal script
Browse files Browse the repository at this point in the history
  • Loading branch information
wiktor-obrebski committed Sep 4, 2024
1 parent 37fcaa1 commit 0da7101
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions gui/journal.lua
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ function JournalWindow:init()
on_text_change=self:callback('onTextChange'),
on_cursor_change=self:callback('onCursorChange'),
},
widgets.HelpButton{command="gui/journal", frame={r=0,t=1}},
widgets.Panel{
frame={l=0,r=0,b=1,h=1},
frame_inset={l=1,r=1,t=0, w=100},
Expand Down
3 changes: 1 addition & 2 deletions internal/journal/text_editor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,7 @@ function TextEditor:init()
view_id='scrollbar',
frame={r=0,t=1},
on_scroll=self:callback('onScrollbar')
},
widgets.HelpButton{command="gui/journal", frame={r=0,t=0}}
}
}
self:setFocus(true)
end
Expand Down

0 comments on commit 0da7101

Please sign in to comment.