Skip to content

Conversation

@jbocce
Copy link
Collaborator

@jbocce jbocce commented Nov 3, 2025

Context

When using the SplineROITool or any of its extensions (e.g. SplineContourSegmentationTool) immediately after using a tool that uses/sets cursor:none (e.g. EllipticalROITool), the mouse cursor disappears as soon as the last point of the spline is placed.

Changes & Results

The SplineROITool does not set a cursor when it is first applied, so there is no reason to reset the cursor when the tool is finished being applied. Thus the code was altered to no longer reset the cursor for the SplineROITool.

Testing

  1. Apply a tool (e.g. EllipticalROITool)
  2. Switch to and apply the SplineROITool.
  3. Ensure that the mouse cursor does not disappear.

Checklist

PR

  • My Pull Request title is descriptive, accurate and follows the
    semantic-release format and guidelines.

Code

  • My code has been well-documented (function documentation, inline comments,
    etc.)

Public Documentation Updates

  • The documentation page has been updated as necessary for any public API
    additions or removals.

Tested Environment

  • "OS: Windows 11
  • "Node version: 23.9.0
  • "Browser: Chrome 142.0.7444.60

@jbocce jbocce requested a review from sedghi November 3, 2025 18:41
…t in the first place.

Removed unused imports.
@jbocce jbocce requested a review from sedghi November 4, 2025 14:17
@jbocce jbocce merged commit 20f63e7 into cornerstonejs:main Nov 4, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants