From 53c1cc143648f36ba9aa6e5d12cce3cc24781456 Mon Sep 17 00:00:00 2001 From: JFronny Date: Mon, 22 Jul 2024 19:51:43 +0200 Subject: [PATCH] fix: bump back up to 2, since that apparently makes very little difference --- .../kotlin/io/gitlab/jfronny/globalmenu/proxy/SwingRootMenu.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/io/gitlab/jfronny/globalmenu/proxy/SwingRootMenu.kt b/src/main/kotlin/io/gitlab/jfronny/globalmenu/proxy/SwingRootMenu.kt index 521918c..1484c40 100644 --- a/src/main/kotlin/io/gitlab/jfronny/globalmenu/proxy/SwingRootMenu.kt +++ b/src/main/kotlin/io/gitlab/jfronny/globalmenu/proxy/SwingRootMenu.kt @@ -42,6 +42,6 @@ class SwingRootMenu(private var menuItems: List?, private val name: S } private fun syncChildren() { - _children = menuItems?.map { SwingMenu(it, holder).apply { syncChildren(1) } } // setting this to 2 may help prevent missing entries but is SLLOOOOWWW + _children = menuItems?.map { SwingMenu(it, holder).apply { syncChildren(2) } } // setting this to 2 may help prevent missing entries but is SLLOOOOWWW } }