modules/graphics/src/main/java/javafx/scene/Scene.java
Print this page
@@ -2309,10 +2309,14 @@
if (isDirty(DirtyBits.CAMERA_DIRTY)) {
cam.impl_updatePeer();
impl_peer.setCamera((NGCamera) cam.impl_getPeer());
}
+ if (isDirty(DirtyBits.CURSOR_DIRTY)) {
+ mouseHandler.updateCursor(getCursor());
+ }
+
clearDirty();
inSynchronizer = false;
}
/**
@@ -3701,17 +3705,18 @@
dndGesture = null;
}
}
}
-
+ if (e.getEventType() != MouseEvent.MOUSE_EXITED) {
if (cursor == null && hover) {
cursor = Scene.this.getCursor();
}
updateCursor(cursor);
updateCursorFrame();
+ }
if (gestureStarted) {
pdrInProgress = true;
}