From d7b6220e576dcd4255bec1a3c0f4c44a4b88ddf0 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Mon, 24 Jun 2024 14:58:58 +0200 Subject: [PATCH] TODO added --- service.js | 1 + 1 file changed, 1 insertion(+) diff --git a/service.js b/service.js index e123081..4340ee4 100644 --- a/service.js +++ b/service.js @@ -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