1
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
c930480336
commit
2efb229c96
|
|
@ -2826,11 +2826,22 @@ export default {
|
|||
this.timer = null
|
||||
this.timeNum = 0
|
||||
}
|
||||
let index = null
|
||||
this.timer = setInterval(() => {
|
||||
this.timeNum++
|
||||
const renderingEngine = getRenderingEngine(renderingEngineId)
|
||||
renderingEngine.resize(true, false)
|
||||
renderingEngine.render()
|
||||
// let viewportIds = [`${this.viewportKey}-0`, `${this.viewportKey}-1`, `${this.viewportKey}-2`]
|
||||
// if (!this.isMPR) {
|
||||
// viewportIds = []
|
||||
// for (let i = 0; i < this.cells.length; i++) {
|
||||
// const viewportId = `${this.viewportKey}-${i}`
|
||||
// viewportIds.push(viewportId)
|
||||
// }
|
||||
// }
|
||||
index = index || index === 0 ? index : this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].series.SliceIndex
|
||||
this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].setFullScreen(index)
|
||||
if (this.timeNum >= 3) {
|
||||
clearInterval(this.timer)
|
||||
this.timer = null
|
||||
|
|
@ -2853,15 +2864,8 @@ export default {
|
|||
})
|
||||
|
||||
}
|
||||
if (this.isFusion || this.isMPR || this.readingTool === 3) {
|
||||
if (this.isFusion) {
|
||||
let viewportIds = [`${this.viewportKey}-0`, `${this.viewportKey}-1`, `${this.viewportKey}-2`]
|
||||
if (!this.isFusion && !this.isMPR) {
|
||||
viewportIds = []
|
||||
for (let i = 0; i < this.cells.length; i++) {
|
||||
const viewportId = `${this.viewportKey}-${i}`
|
||||
viewportIds.push(viewportId)
|
||||
}
|
||||
}
|
||||
viewportIds.forEach(id => {
|
||||
const index = this.$refs[id][0].series.SliceIndex
|
||||
this.$refs[id][0].setFullScreen(index)
|
||||
|
|
|
|||
Loading…
Reference in New Issue