|
@@ -665,7 +665,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
methods: {
|
|
|
- planToPlayAudio: utils.debounce(function(taskId, text = '') {
|
|
|
+ planToPlayAudio(taskId, text = '') {
|
|
|
let XHR = new XMLHttpRequest()
|
|
|
const that = this
|
|
|
XHR.onreadystatechange = function() {
|
|
@@ -697,7 +697,7 @@ export default {
|
|
|
XHR.send(JSON.stringify({
|
|
|
content: text || this.elemType + (this.elemType ? ': ' : '') + this.elemDisc
|
|
|
}))
|
|
|
- }, 500),
|
|
|
+ },
|
|
|
keyEventHandler(e) {
|
|
|
if (e.repeat) {
|
|
|
return
|
|
@@ -816,7 +816,7 @@ export default {
|
|
|
this.crosshairPosition.x = e.clientX
|
|
|
this.crosshairPosition.y = e.clientY
|
|
|
},
|
|
|
- onMouseOverForPointRead(e) {
|
|
|
+ onMouseOverForPointRead: utils.debounce(function(e) {
|
|
|
if (!this.ariaSettings.isCompActive) {
|
|
|
return
|
|
|
}
|
|
@@ -827,7 +827,7 @@ export default {
|
|
|
|
|
|
this.planToPlayAudio()
|
|
|
}
|
|
|
- },
|
|
|
+ }, 500),
|
|
|
onMouseOverForContinueRead(e) {
|
|
|
if (!this.ariaSettings.isCompActive) {
|
|
|
return
|