mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-80345 don't show drop location when dropping on tab
This commit is contained in:
@@ -235,8 +235,9 @@ public class
|
||||
|
||||
@Override
|
||||
public void processDropOver(TabInfo over, RelativePoint relativePoint) {
|
||||
super.processDropOver(over, relativePoint);
|
||||
final Point point = relativePoint.getPoint(getComponent());
|
||||
myShowDropLocation = shouldAddToGlobal(point);
|
||||
super.processDropOver(over, relativePoint);
|
||||
for (Map.Entry<TabInfo, TabLabel> entry : myInfo2Label.entrySet()) {
|
||||
final TabLabel label = entry.getValue();
|
||||
if (label.getBounds().contains(point) && myDropInfo != entry.getKey()) {
|
||||
|
||||
Reference in New Issue
Block a user