mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
don't change over image when going through separators
This commit is contained in:
@@ -24,6 +24,7 @@ import com.intellij.openapi.ui.popup.JBPopup;
|
||||
import com.intellij.openapi.util.ActionCallback;
|
||||
import com.intellij.openapi.util.DimensionService;
|
||||
import com.intellij.openapi.util.MutualMap;
|
||||
import com.intellij.ui.awt.RelativePoint;
|
||||
import com.intellij.ui.components.panels.NonOpaquePanel;
|
||||
import com.intellij.ui.content.Content;
|
||||
import com.intellij.ui.docking.DockContainer;
|
||||
@@ -77,6 +78,21 @@ public class GridCellImpl implements GridCell {
|
||||
protected Color getFocusedBottomFillColor() {
|
||||
return new Color(194, 203, 219);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processDropOver(TabInfo over, RelativePoint point) {
|
||||
((RunnerContentUi)myContext).myTabs.processDropOver(over, point);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Image startDropOver(TabInfo tabInfo, RelativePoint point) {
|
||||
return ((RunnerContentUi)myContext).myTabs.startDropOver(tabInfo, point);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void resetDropOver(TabInfo tabInfo) {
|
||||
((RunnerContentUi)myContext).myTabs.resetDropOver(tabInfo);
|
||||
}
|
||||
}.setDataProvider(new DataProvider() {
|
||||
@Nullable
|
||||
public Object getData(@NonNls final String dataId) {
|
||||
|
||||
@@ -509,7 +509,7 @@ public class RunnerContentUi implements ContentUI, Disposable, CellTransform.Fac
|
||||
final Point p = point.getPoint(getComponent());
|
||||
Component c = SwingUtilities.getDeepestComponentAt(getComponent(), p.x, p.y);
|
||||
while (c != null) {
|
||||
if (c instanceof JBTabs) {
|
||||
if (c instanceof JBRunnerTabs) {
|
||||
return (JBTabs)c;
|
||||
}
|
||||
c = c.getParent();
|
||||
|
||||
Reference in New Issue
Block a user