Skip to content

Mouse cursor gets stuck with Orbit Tool on macOS when using a Ruby Tool #1028

@voqhai

Description

@voqhai

When creating a simple Ruby tool in SketchUp, the cursor behaves differently on macOS compared to Windows. On Windows, SketchUp automatically provides a default cursor if none is specified. However, on macOS, if the Orbit Tool is triggered (by holding the middle mouse button), the cursor becomes stuck with the Orbit Tool's appearance even after resuming the Ruby tool.

def onSetCursor
  UI.set_cursor(0) if Sketchup.platform == :platform_osx
end

def resume(view)
  onSetCursor
end

Feature Request:
SketchUp should provide a default cursor automatically when a Ruby tool does not set one explicitly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions