File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ local widgets = require('gui.widgets')
55local textures = require (' gui.textures' )
66local overlay = require (' plugins.overlay' )
77local guidm = require (' gui.dwarfmode' )
8- local text_editor = reqscript (' internal/journal/text_editor' )
98
109local green_pin = dfhack .textures .loadTileset (
1110 ' hack/data/art/note_green_pin_map.png' ,
@@ -172,7 +171,7 @@ function NoteManager:init()
172171 auto_width = true ,
173172 on_activate = function () self .subviews .name :setFocus (true ) end ,
174173 },
175- text_editor . TextEditor {
174+ widgets . TextArea {
176175 view_id = ' name' ,
177176 frame = {t = 1 ,h = 3 },
178177 frame_style = gui .FRAME_INTERIOR ,
@@ -187,7 +186,7 @@ function NoteManager:init()
187186 auto_width = true ,
188187 on_activate = function () self .subviews .comment :setFocus (true ) end ,
189188 },
190- text_editor . TextEditor {
189+ widgets . TextArea {
191190 view_id = ' comment' ,
192191 frame = {t = 6 ,b = 3 },
193192 frame_style = gui .FRAME_INTERIOR ,
You can’t perform that action at this time.
0 commit comments