client: make console message area focusable and prevent editor kbd shortcuts when focused
This commit is contained in:
parent
54d32c4c3f
commit
883fb811e8
3 changed files with 3 additions and 2 deletions
|
|
@ -10,6 +10,7 @@
|
|||
- MacOs: the app now quits when all windows are closed
|
||||
- launcher: if the Tray icon is enabled, closing the launcher window won't quit the app if the server is running
|
||||
- scrollbar widget: fix initial value in vertical mode
|
||||
- console: fix copying using CmdOrCtrl+C when the editor is enabled
|
||||
|
||||
- custom module
|
||||
- objects transmitted using `receive()` will be received as objects by the client app (instead of a json string)
|
||||
|
|
|
|||
|
|
@ -282,7 +282,7 @@ class Editor {
|
|||
|
||||
if (
|
||||
this.inspector.helpModalOpened ||
|
||||
e && e.target && e.target.tagName.match(/INPUT|TEXTAREA|SELECT/)
|
||||
e && e.target && e.target.tagName.match(/INPUT|TEXTAREA|SELECT|OSC-CONSOLE/)
|
||||
) return
|
||||
|
||||
if (e) e.preventDefault()
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ class UiConsole extends UiSidePanel {
|
|||
this.header = DOM.get(this.container, 'osc-panel-header')[0]
|
||||
|
||||
this.header.appendChild(html`<label>${locales('console')}</label>`)
|
||||
this.messages = this.content.appendChild(html`<osc-console></osc-console>`)
|
||||
this.messages = this.content.appendChild(html`<osc-console tabIndex="-1"></osc-console>`)
|
||||
|
||||
this.inputWrapper = this.content.appendChild(html`<osc-console-input></osc-console-inpu>`)
|
||||
this.input = this.inputWrapper.appendChild(html`<textarea rows="1"></textarea>`)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue