mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-08-10 06:40:37 +02:00
Update status bar popup location
This commit is contained in:
parent
a470b579a9
commit
f56ed7fd50
@ -64,8 +64,7 @@ private object VimStatusBar : StatusBarWidget, StatusBarWidget.IconPresentation
|
||||
val popup = VimActionsPopup.getPopup(DataManager.getInstance().getDataContext(component))
|
||||
val dimension = popup.content.preferredSize
|
||||
|
||||
// Trying to find the best position. 16 - size of the icon, 1 - height of the delimiter
|
||||
val at = Point(-dimension.width + 16, -dimension.height - 1)
|
||||
val at = Point(0, -dimension.height)
|
||||
popup.show(RelativePoint(component, at))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user