diff --git a/inspector/text.js b/inspector/text.js index 2d79017..c1c1d83 100644 --- a/inspector/text.js +++ b/inspector/text.js @@ -6,7 +6,8 @@ import { charset, useHabitatText } from "./data.js" import { Scale } from "./render.js" import { makeCanvas } from "./shim.js" import { parseHabitatObject } from "./neohabitat.js" -import { startDrag, overlayImageView, overlayImageEditor, transparencyGridStyle, booleanCheckbox, borderStyle } from "./edit.js" +import { startDrag, overlayImageView, overlayImageEditor, transparencyGridStyle, booleanCheckbox, + borderStyle, fieldEditor } from "./edit.js" export const TEXT_W = 40 export const TEXT_H = 16 @@ -464,6 +465,8 @@ export const textEditView = ({ pages, tracker }) => { <${booleanCheckbox} obj=${editState} field="insertMode">Insert mode
<${booleanCheckbox} obj=${editState} field="spaceMouse">Spacebar draws selected char
<${booleanCheckbox} obj=${editState} field="onlyDrawingChars">Hide text characters
+ <${fileLoadView} pages=${pages} tracker=${tracker}/>
+ <${overlayImageEditor} cropstyle="document"/>
@@ -474,9 +477,8 @@ export const textEditView = ({ pages, tracker }) => {
<${pageNav} pages=${pages} tracker=${tracker}/> +

Click on the document above to move the cursor and draw the currently-selected character.

If the document does not have focus, you can enable keyboard input without moving the cursor by clicking - on any blank space on the page.

- <${fileLoadView} pages=${pages} tracker=${tracker}/>
- <${overlayImageEditor} cropstyle="document"/>` + on any blank space on the page.

` }