TODO added

This commit is contained in:
Simon Rozman 2024-06-24 14:58:58 +02:00
parent 8abb1a56d7
commit d7b6220e57

View File

@ -325,6 +325,7 @@ class BesService {
* Resizes correction and scroll panels to match host element size.
*/
setCorrectionPanelSize() {
// TODO: This woodoo looks so wrong it can't be true. Revise together!
const styles = window.getComputedStyle(this.textElement)
this.correctionPanel.style.marginLeft = styles.marginLeft
this.correctionPanel.style.marginRight = styles.marginRight