From d7ac2265cdf1a61d508d5b9ff1ced2295eabc43c Mon Sep 17 00:00:00 2001 From: Paul Manias Date: Tue, 25 Feb 2025 19:02:56 +0000 Subject: [PATCH] [UI] Fixed issue with the Divider widget patterns not being fixed to the correct coordinates. --- scripts/gui/divider.fluid | 8 -------- 1 file changed, 8 deletions(-) diff --git a/scripts/gui/divider.fluid b/scripts/gui/divider.fluid index dcef0c8e..42a2a68e 100644 --- a/scripts/gui/divider.fluid +++ b/scripts/gui/divider.fluid @@ -31,17 +31,9 @@ local function arrangeAll(self, Middle) if (self._orientation == 'h') then local margin = 0 self._div = { x = a_len, y = self._primary.y + margin, width = GAP, height = self._primary.height - (margin*2) } - if self._pattern then - self._pattern.x = self._vp.absX + a_len - self._pattern.y = self._primary.absY + margin - end else local margin = 0 self._div = { x = self._primary.x + margin, y = a_len, width = self._primary.width - (margin*2), height = GAP } - if self._pattern then - self._pattern.x = self._primary.absX + margin - self._pattern.y = self._vp.absY + a_len - end end self._secondary[self._anchor] = a_len + GAP