mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
Revert "IDEA-311412 Adopt new API for custom title bar"
GitOrigin-RevId: 0f6605e6a22268b0d53968ede9bb2fed09b86dc4
This commit is contained in:
committed by
intellij-monorepo-bot
parent
46b60d4b8f
commit
5128be05e1
@@ -175,10 +175,10 @@ internal class MacToolbarFrameHeader(private val frame: JFrame,
|
||||
|
||||
override fun getHeaderBackground(active: Boolean) = JBUI.CurrentTheme.CustomFrameDecorations.mainToolbarBackground(active)
|
||||
|
||||
override fun updateCustomTitleBar() {
|
||||
super.updateCustomTitleBar()
|
||||
updateBorders()
|
||||
}
|
||||
//override fun updateCustomTitleBar() {
|
||||
// super.updateCustomTitleBar()
|
||||
// updateBorders()
|
||||
//}
|
||||
|
||||
private fun updateBorders() {
|
||||
val isFullscreen = root.getClientProperty(MacMainFrameDecorator.FULL_SCREEN) != null
|
||||
|
||||
Reference in New Issue
Block a user