mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-29 19:20:09 +00:00
Fix the displayed mouse cursor when the selection is active
Regression introduced in 8c916bf2113e21a079d030ae57995a0812a4ab2e
This commit is contained in:
parent
17ddf8421f
commit
cb6ccc3dc5
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user