mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-311375 Fix Learn main menu scaling with header and footer
GitOrigin-RevId: e9c3478718aa052c3f2ecf76f4c5ab180bf7ef67
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b82f45564d
commit
7f7f4a70d5
@@ -51,6 +51,13 @@ class LearnToolWindow internal constructor(val project: Project, private val who
|
||||
}
|
||||
}
|
||||
|
||||
override fun updateUI() {
|
||||
super.updateUI()
|
||||
if (parent != null) {
|
||||
reinitViews()
|
||||
}
|
||||
}
|
||||
|
||||
internal fun reinitViews() {
|
||||
modulesPanel.modulesPanel?.updateMainPanel()
|
||||
}
|
||||
|
||||
@@ -39,13 +39,6 @@ class LearningItems(private val project: Project) : JPanel() {
|
||||
isFocusable = false
|
||||
}
|
||||
|
||||
override fun updateUI() {
|
||||
super.updateUI()
|
||||
if (parent != null) {
|
||||
updateItems(null)
|
||||
}
|
||||
}
|
||||
|
||||
fun updateItems(showModule: IftModule? = null) {
|
||||
if (showModule != null) expanded.add(showModule)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user