Improve map lock and smart heading behavior
This commit is contained in:
@@ -51,6 +51,11 @@ export class HapticsDirector {
|
||||
continue
|
||||
}
|
||||
|
||||
if (effect.type === 'session_cancelled') {
|
||||
this.trigger('session_finished')
|
||||
continue
|
||||
}
|
||||
|
||||
if (effect.type === 'punch_feedback' && effect.tone === 'warning') {
|
||||
this.trigger('punch_feedback:warning')
|
||||
continue
|
||||
|
||||
@@ -189,6 +189,10 @@ export class UiEffectDirector {
|
||||
if (effect.type === 'session_finished') {
|
||||
this.clearPunchButtonMotion()
|
||||
}
|
||||
|
||||
if (effect.type === 'session_cancelled') {
|
||||
this.clearPunchButtonMotion()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user