Skip to content

Commit

Permalink
Allow typing entity name faster after clicking its node.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkfranz committed Nov 15, 2017
1 parent 29bb0c7 commit 8744945
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/client/components/editor/cy/tippy.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ module.exports = function({ bus, cy, document }){
node.scratch('_tippies', tippies);

let options = {
duration: 0,
position: 'right',
hideOnClick: false,
onHidden: _.debounce( () => destroyTippy( node ), 100 ) // debounce allows toggling a tippy on an ele
Expand Down
2 changes: 1 addition & 1 deletion src/client/components/entity-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class EntityInfo extends React.Component {
if( input != null ){
focusDomElement( input );
}
}, 500 );
}, 50 );

this.data = {
element: el,
Expand Down

0 comments on commit 8744945

Please sign in to comment.