During Shift-drag and Option-drag gestures, MGLMapView hides the mouse cursor; afterwards, it repositions the cursor at the original location and makes it visible again. This maintains the illusion that the cursor has stayed in place. However, the repositioning code assumes the map view’s origin is at the origin of the window. In macosapp, if you open the Layers sidebar then Shift- or Option-drag, the mouse ends up in the wrong location.
During Shift-drag and Option-drag gestures, MGLMapView hides the mouse cursor; afterwards, it repositions the cursor at the original location and makes it visible again. This maintains the illusion that the cursor has stayed in place. However, the repositioning code assumes the map view’s origin is at the origin of the window. In macosapp, if you open the Layers sidebar then Shift- or Option-drag, the mouse ends up in the wrong location.