mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-10 10:25:36 +01:00
not show empty action dialogs
This commit is contained in:
parent
41816bf5b6
commit
822a7de65b
1 changed files with 2 additions and 2 deletions
|
|
@ -87,8 +87,8 @@ InputManager.prototype.requestInfo = function(actionRequest) {
|
|||
this.requestedActionInfo = null;
|
||||
if (actionId != null ) {
|
||||
const action = this.app.actionManager.actions[actionId];
|
||||
if (action) {
|
||||
const hotKey = this.keymap[actionId];
|
||||
const hotKey = this.keymap[actionId];
|
||||
if (action && (action.state.hint || action.info || hotKey)) {
|
||||
Bind(this.actionInfoDom, {
|
||||
hint: action.state.hint,
|
||||
info: action.info,
|
||||
|
|
|
|||
Loading…
Reference in a new issue