Merge remote-tracking branch 'origin/develop' into vue3-again
* origin/develop: Remove debugging code Fix overlapping buttons in Theme settings Update dependency ruffle-mirror to v2021.12.31 Update dependency babel-loader to v8.2.4
This commit is contained in:
commit
d6bbccdd71
8 changed files with 87 additions and 43 deletions
|
@ -55,6 +55,15 @@ export default {
|
|||
return this.active
|
||||
}
|
||||
},
|
||||
isActive () {
|
||||
return tabName => {
|
||||
const isWanted = slot => slot.props && slot.props['data-tab-name'] === tabName
|
||||
return this.$slots.default.findIndex(isWanted) === this.activeIndex
|
||||
}
|
||||
},
|
||||
settingsModalVisible () {
|
||||
return this.settingsModalState === 'visible'
|
||||
},
|
||||
...mapState({
|
||||
settingsModalState: state => state.interface.settingsModalState
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue