Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions notes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ local widgets = require('gui.widgets')
local textures = require('gui.textures')
local overlay = require('plugins.overlay')
local guidm = require('gui.dwarfmode')
local text_editor = reqscript('internal/journal/text_editor')

local green_pin = dfhack.textures.loadTileset(
'hack/data/art/note_green_pin_map.png',
Expand Down Expand Up @@ -172,7 +171,7 @@ function NoteManager:init()
auto_width=true,
on_activate=function() self.subviews.name:setFocus(true) end,
},
text_editor.TextEditor{
widgets.TextArea{
view_id='name',
frame={t=1,h=3},
frame_style=gui.FRAME_INTERIOR,
Expand All @@ -187,7 +186,7 @@ function NoteManager:init()
auto_width=true,
on_activate=function() self.subviews.comment:setFocus(true) end,
},
text_editor.TextEditor{
widgets.TextArea{
view_id='comment',
frame={t=6,b=3},
frame_style=gui.FRAME_INTERIOR,
Expand Down
Loading