Fix the displayed mouse cursor when the selection is active

Regression introduced in 8c916bf2113e21a079d030ae57995a0812a4ab2e
This commit is contained in:
David Capello 2021-06-11 11:46:56 -03:00
parent 17ddf8421f
commit cb6ccc3dc5

View File

@ -946,6 +946,11 @@ bool StandbyState::Decorator::onSetCursor(tools::Ink* ink, Editor* editor, const
v = to_vec2(A - C);
v = vec2(v.y, -v.x);
break;
case PivotHandle:
break;
default:
// The cursor will be set by Editor::onSetCursor()
return false;
}
double angle = v.angle();