Compare commits

..

No commits in common. "544f83d118ab865313e2a1280a519d8863ef215d" and "7a454d09ffba04a23a6f156fda1012a565dfc230" have entirely different histories.

1 changed files with 4 additions and 5 deletions

View File

@ -3498,14 +3498,14 @@ export default {
this.setToolsPassive() this.setToolsPassive()
this.rows = 1 this.rows = 1
this.cols = 1 this.cols = 1
this.activeViewportIndex = 0
this.fullScreenIndex = null this.fullScreenIndex = null
this.isMPR = false this.isMPR = false
obj.isChange = false obj.isChange = false
return this.$nextTick(() => { return this.$nextTick(() => {
DicomEvent.$emit('activeSeries', obj) DicomEvent.$emit('activeSeries', obj)
DicomEvent.$emit('changeMPR') DicomEvent.$emit('changeMPR')
this.$refs[`${this.viewportKey}-0`][0].setSeriesInfo(obj) this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].setSeriesInfo(obj)
this.activeViewportIndex = 0
const renderingEngine = getRenderingEngine(renderingEngineId) const renderingEngine = getRenderingEngine(renderingEngineId)
renderingEngine.resize(true, false) renderingEngine.resize(true, false)
renderingEngine.render() renderingEngine.render()
@ -3519,7 +3519,6 @@ export default {
if (!obj.IsDicom) { if (!obj.IsDicom) {
return this.previewNoneDicoms(obj) return this.previewNoneDicoms(obj)
} }
this.activeViewportIndex = 0
this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].setSeriesInfo(obj) this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].setSeriesInfo(obj)
this.clipPlaying = false this.clipPlaying = false
this.fps = 15 this.fps = 15