mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
IJPL-155823 Impossible to move tool window from bottom to top position by drag-and-drop
GitOrigin-RevId: 7999b778f15c04324005c6fa45809d57a837a309
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d04822fdb6
commit
21a73e146b
@@ -183,7 +183,7 @@ abstract class ToolWindowToolbar(private val isPrimary: Boolean, val anchor: Too
|
||||
}
|
||||
if (anchor == ToolWindowAnchor.BOTTOM) {
|
||||
val rootBounds = Rectangle(rootPane.locationOnScreen, rootPane.size)
|
||||
val toolWindowHeight = max(getFirstVisibleToolWindowSize(false), toolBar.height)
|
||||
val toolWindowHeight = max(getFirstVisibleToolWindowSize(false), height + JBUI.scale(40))
|
||||
val bounds = Rectangle(rootBounds.x, rootBounds.y + rootBounds.height - toolWindowHeight - getStatusBarHeight(),
|
||||
rootBounds.width / 2, toolWindowHeight)
|
||||
if (split) {
|
||||
|
||||
Reference in New Issue
Block a user