-
-
Notifications
You must be signed in to change notification settings - Fork 577
Add Gradient tool test for select and delete removes a stop #2571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Gradient tool test for select and delete removes a stop #2571
Conversation
d995c67
to
0dbb1e9
Compare
async fn double_click_at(editor: &mut EditorTestUtils, position: DVec2) { | ||
editor | ||
.handle_message(InputPreprocessorMessage::DoubleClick { | ||
editor_mouse_state: EditorMouseState { | ||
editor_position: position, | ||
mouse_keys: MouseKeys::LEFT, | ||
scroll_delta: ScrollDelta::default(), | ||
}, | ||
modifier_keys: ModifierKeys::empty(), | ||
}) | ||
.await; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good, however why is this not part of the EditorTestUtils
like all the other testing utilities? It doesn't seem to be specific to the gradient tool.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
2047173
to
7b6f4f7
Compare
resolved conflicts |
Head branch was pushed to by a user without write access
7b6f4f7
to
2798a79
Compare
@0HyperCube the auto-merge was disabled because there was a merge conflict again |
Closes part of #2488