diff options
Diffstat (limited to 'featureClass/featureManager.js')
-rw-r--r-- | featureClass/featureManager.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/featureClass/featureManager.js b/featureClass/featureManager.js index e27208f..991f549 100644 --- a/featureClass/featureManager.js +++ b/featureClass/featureManager.js @@ -439,13 +439,13 @@ class FeatureManager { return this.customEvents[id] } - registerForge(event, func, context) { + registerForge(event, func, priority, context) { let id = this.lastForgeEventId++ this.forgeEvents[id] = { func: func, context: context, - trigger: registerForgeBase(event, (...args) => { + trigger: registerForgeBase(event, priority, (...args) => { try { if (context.enabled) { if (this.recordingPerformanceUsage) this.startRecordingPerformance(context.constructor.name, event.class.name) |