反色bug修复
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
parent
049128b90e
commit
9962b1a829
|
@ -2258,13 +2258,14 @@ export default {
|
||||||
this.customWwc.visible = false
|
this.customWwc.visible = false
|
||||||
},
|
},
|
||||||
toggleInvert() {
|
toggleInvert() {
|
||||||
if (this.activeTool === 'reversecolor') {
|
// if (this.activeTool === 'reversecolor') {
|
||||||
this.$refs[`dicomCanvas${this.currentDicomCanvasIndex}`][0].resetWwwc()
|
// this.$refs[`dicomCanvas${this.currentDicomCanvasIndex}`][0].resetWwwc()
|
||||||
this.activeTool = ''
|
// this.activeTool = ''
|
||||||
} else {
|
// } else {
|
||||||
this.activeTool = 'reversecolor'
|
// this.activeTool = 'reversecolor'
|
||||||
|
// this.$refs[`dicomCanvas${this.currentDicomCanvasIndex}`][0].toggleInvert()
|
||||||
|
// }
|
||||||
this.$refs[`dicomCanvas${this.currentDicomCanvasIndex}`][0].toggleInvert()
|
this.$refs[`dicomCanvas${this.currentDicomCanvasIndex}`][0].toggleInvert()
|
||||||
}
|
|
||||||
},
|
},
|
||||||
setImageIndexSync() {
|
setImageIndexSync() {
|
||||||
this.isScrollSync = !this.isScrollSync
|
this.isScrollSync = !this.isScrollSync
|
||||||
|
|
|
@ -2308,15 +2308,16 @@ export default {
|
||||||
this.customWwc.visible = false
|
this.customWwc.visible = false
|
||||||
},
|
},
|
||||||
toggleInvert() {
|
toggleInvert() {
|
||||||
if (this.activeTool === 'reversecolor') {
|
// if (this.activeTool === 'reversecolor') {
|
||||||
this.$refs[`dicomCanvas${this.currentDicomCanvasIndex}`][0].resetWwwc()
|
// this.$refs[`dicomCanvas${this.currentDicomCanvasIndex}`][0].resetWwwc()
|
||||||
this.activeTool = ''
|
// this.activeTool = ''
|
||||||
} else {
|
// } else {
|
||||||
this.activeTool = 'reversecolor'
|
// this.activeTool = 'reversecolor'
|
||||||
this.$refs[
|
// this.$refs[
|
||||||
`dicomCanvas${this.currentDicomCanvasIndex}`
|
// `dicomCanvas${this.currentDicomCanvasIndex}`
|
||||||
][0].toggleInvert()
|
// ][0].toggleInvert()
|
||||||
}
|
// }
|
||||||
|
this.$refs[`dicomCanvas${this.currentDicomCanvasIndex}`][0].toggleInvert()
|
||||||
},
|
},
|
||||||
setImageIndexSync() {
|
setImageIndexSync() {
|
||||||
this.isScrollSync = !this.isScrollSync
|
this.isScrollSync = !this.isScrollSync
|
||||||
|
|
Loading…
Reference in New Issue