Browse Source
Accept mode option in tlb-move command (#6519)
fix-resizeobserver-recursion-in-framewrapview
Artur Arseniev
9 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
packages/core/src/commands/index.ts
|
|
|
@ -151,7 +151,7 @@ export default class CommandsModule extends Module<CommandsConfig & { pStylePref |
|
|
|
return em.logWarning('The element is not draggable'); |
|
|
|
} |
|
|
|
|
|
|
|
const mode = target.get('dmode') || em.get('dmode'); |
|
|
|
const mode = opts.mode || target.get('dmode') || em.get('dmode'); |
|
|
|
const hideTlb = () => em.stopDefault(defComOptions); |
|
|
|
const altMode = includes(modes, mode); |
|
|
|
targets.forEach((trg) => trg.trigger('disable', { fromMove: true })); |
|
|
|
|