mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
push dialog: tree edit target panel cursor changed to HAND_CURSOR
This commit is contained in:
@@ -35,10 +35,7 @@ public class VcsBranchEditorListener extends LinkMouseListenerBase {
|
||||
public void mouseMoved(MouseEvent e) {
|
||||
Component component = (Component)e.getSource();
|
||||
Object tag = getTagAt(e);
|
||||
if (tag != null && tag instanceof PushTargetPanel) {
|
||||
component.setCursor(Cursor.getPredefinedCursor(Cursor.TEXT_CURSOR));
|
||||
}
|
||||
else if (tag != null && tag instanceof TextWithLinkNode) {
|
||||
if (tag instanceof PushTargetPanel || tag instanceof TextWithLinkNode) {
|
||||
component.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user