Fixing rendering of LaTeX for position changing.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adsooi 2024-09-20 22:14:52 +02:00
parent 8ab461ff72
commit 67190e1b4c
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160

View file

@ -100,7 +100,7 @@ export default class EditedPosition extends Action {
Promise.all(this._renderPromises).then((rendered) => { Promise.all(this._renderPromises).then((rendered) => {
// Rendered are (potentially) two HTML strings which are defined during rendering // Rendered are (potentially) two HTML strings which are defined during rendering
this.prevHTML = this.prevHTML ?? rendered[0] this.prevHTML = this.prevHTML ?? rendered[0]
this.nextHTML = this.prevHTML ?? rendered[1] this.nextHTML = this.nextHTML ?? rendered[1]
resolve(translation.arg(this.prevHTML).arg(this.nextHTML)) resolve(translation.arg(this.prevHTML).arg(this.nextHTML))
}) })
}) })