modules/graphics/src/main/java/javafx/scene/Scene.java
Print this page
*** 2309,2318 ****
--- 2309,2322 ----
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,3717 ****
dndGesture = null;
}
}
}
!
if (cursor == null && hover) {
cursor = Scene.this.getCursor();
}
updateCursor(cursor);
updateCursorFrame();
if (gestureStarted) {
pdrInProgress = true;
}
--- 3705,3722 ----
dndGesture = null;
}
}
}
! if (e.getEventType() != MouseEvent.MOUSE_EXITED) {
if (cursor == null && hover) {
cursor = Scene.this.getCursor();
}
updateCursor(cursor);
updateCursorFrame();
+ }
if (gestureStarted) {
pdrInProgress = true;
}