From eedbd1a289916f503dc9047ae7b04625b2fbcb0f Mon Sep 17 00:00:00 2001 From: MHeMoTexHuK Date: Sun, 2 Jan 2022 21:54:08 +0300 Subject: [PATCH] idk --- .../com/github/mnemotechnician/mkui/windows/WindowManager.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/main/kotlin/com/github/mnemotechnician/mkui/windows/WindowManager.kt b/lib/src/main/kotlin/com/github/mnemotechnician/mkui/windows/WindowManager.kt index d56e935..910fcb1 100644 --- a/lib/src/main/kotlin/com/github/mnemotechnician/mkui/windows/WindowManager.kt +++ b/lib/src/main/kotlin/com/github/mnemotechnician/mkui/windows/WindowManager.kt @@ -40,7 +40,7 @@ object WindowManager { ); root.color.a = if (it.isDragging) 0.5f else 1f - it.table.setSize(it.table.prefWidth, it.table.prefHeight) + root.setSize(root.prefWidth, root.prefHeight) it.onUpdate() }