fix: bump back up to 2, since that apparently makes very little difference

This commit is contained in:
Johannes Frohnmeyer 2024-07-22 19:51:43 +02:00
parent 26efd9270f
commit 53c1cc1436
Signed by: Johannes
GPG Key ID: E76429612C2929F4

View File

@ -42,6 +42,6 @@ class SwingRootMenu(private var menuItems: List<JMenuItem>?, 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
}
}