Skip to content

Commit c5faaba

Browse files
Leneshka-jbintellij-monorepo-bot
authored andcommitted
[progresses] [status bar] IJPL-210529 Remove progressIcon.isVisible which are duplicated or instanly changed
GitOrigin-RevId: adb1a3370dfeb249ca16c4229eb7ea4297241458
1 parent 93cb9c1 commit c5faaba

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

platform/platform-impl/src/com/intellij/openapi/wm/impl/status/InfoAndProgressPanel.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,6 @@ class InfoAndProgressPanel internal constructor(
10951095

10961096
if (showCounterInsteadOfMultiProcessLink && counterComponent.isVisible) {
10971097
counterComponent.enforceCounterVisibilityForASingleProgress()
1098-
progressIcon.isVisible = false
10991098
rightX = setBounds(counterComponent, rightX, centerY, null, true)
11001099

11011100
progressIcon.isVisible = true
@@ -1128,7 +1127,6 @@ class InfoAndProgressPanel internal constructor(
11281127
}
11291128
setBounds(progressIcon, rightX, centerY, iconSize, miniWidth)
11301129
}
1131-
progressIcon.isVisible = true
11321130
}
11331131

11341132
private fun layoutWithFittingIndicator(indicatorComponent: JPanel, initialIndicatorSize: Dimension?, initialRightX: Int, centerY: Int) {

0 commit comments

Comments
 (0)