mirror of
https://github.com/xodio/xod.git
synced 2026-03-23 00:56:54 +01:00
Merge pull request #1702 from xodio/tweak-list-of-actions-that-trigger-hinting-update
Tweak list of actions that trigger hinting update
This commit is contained in:
@@ -6,7 +6,11 @@ import * as EAT from '../editor/actionTypes';
|
||||
|
||||
// :: Action -> Boolean
|
||||
const isLoadingProjectAction = R.propSatisfies(
|
||||
isAmong([PAT.PROJECT_IMPORT, PAT.PROJECT_OPEN]),
|
||||
isAmong([
|
||||
PAT.PROJECT_IMPORT,
|
||||
PAT.PROJECT_OPEN,
|
||||
EAT.INSTALL_LIBRARIES_COMPLETE,
|
||||
]),
|
||||
'type'
|
||||
);
|
||||
|
||||
|
||||
@@ -36,7 +36,6 @@ export const shallDeduceTypes = R.curry((project, action) =>
|
||||
isAmong([
|
||||
PAT.PROJECT_UPDATE_META,
|
||||
PAT.NODE_ADD,
|
||||
PAT.NODE_CHANGE_ARITY_LEVEL,
|
||||
PAT.NODE_RESIZE,
|
||||
PAT.COMMENT_ADD,
|
||||
PAT.COMMENT_RESIZE,
|
||||
@@ -52,6 +51,7 @@ export const shallDeduceTypes = R.curry((project, action) =>
|
||||
// PAT.PATCH_RENAME,
|
||||
// PAT.BULK_DELETE_ENTITIES,
|
||||
// PAT.LINK_ADD,
|
||||
// PAT.NODE_CHANGE_ARITY_LEVEL,
|
||||
// PAT.NODE_CHANGE_SPECIALIZATION,
|
||||
// For NODE_UPDATE_PROPERTY will be a special check
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user