TODO added
This commit is contained in:
parent
8abb1a56d7
commit
d7b6220e57
@ -325,6 +325,7 @@ class BesService {
|
|||||||
* Resizes correction and scroll panels to match host element size.
|
* Resizes correction and scroll panels to match host element size.
|
||||||
*/
|
*/
|
||||||
setCorrectionPanelSize() {
|
setCorrectionPanelSize() {
|
||||||
|
// TODO: This woodoo looks so wrong it can't be true. Revise together!
|
||||||
const styles = window.getComputedStyle(this.textElement)
|
const styles = window.getComputedStyle(this.textElement)
|
||||||
this.correctionPanel.style.marginLeft = styles.marginLeft
|
this.correctionPanel.style.marginLeft = styles.marginLeft
|
||||||
this.correctionPanel.style.marginRight = styles.marginRight
|
this.correctionPanel.style.marginRight = styles.marginRight
|
||||||
|
Loading…
x
Reference in New Issue
Block a user