improved mapitem opening scaling regarding surounding contents
ex: double cartouche for superpositions
This commit is contained in:
@@ -274,7 +274,9 @@ export default {
|
||||
...mapActions(CommonStore,['addPaperSymbolDefinition',
|
||||
'setHoverElmt']),
|
||||
animate () {
|
||||
Matter.Engine.update(this.engine, 1);
|
||||
// if (document.hasFocus()) {
|
||||
Matter.Engine.update(this.engine, 1);
|
||||
// }
|
||||
window.requestAnimationFrame(this.animate);
|
||||
},
|
||||
initPaperSymbols(){
|
||||
@@ -1060,7 +1062,7 @@ export default {
|
||||
})
|
||||
},
|
||||
async setSuperpositionsMatterConstraints(){
|
||||
await nextTick(); // wait for dom to be upadted before applying consraint
|
||||
await nextTick(); // wait for dom to be upadted before applying constraint
|
||||
console.log('setSuperpositionsMatterConstraints this.allSuperpositions', this.allSuperpositions);
|
||||
|
||||
// loop through all supperposition couple
|
||||
|
||||
Reference in New Issue
Block a user