Feature/improve quality#2
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7188c66795
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| export function applyPromptTemplate(selectEl) { | ||
| const val = selectEl.value; | ||
| if (!val) return; | ||
| const large = document.getElementById('tex-gen-prompt-full'); | ||
| if (large) large.value = val; |
There was a problem hiding this comment.
Sync template prompt into active AI generator input
Selecting a suggested prompt in the AI Texture modal does not actually affect generation unless the user manually opens/closes the expanded editor first. applyPromptTemplate only writes to #tex-gen-prompt-full, but texGenerate reads #tex-gen-prompt, so clicking GENERATE right after choosing a template still sees an empty prompt and fails with "Enter a prompt first".
Useful? React with 👍 / 👎.
No description provided.