Skip to content
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

ColorEditor: maintain edited text + cursor pos #1609

Merged
merged 1 commit into from
Apr 8, 2021

Conversation

rhaschke
Copy link
Contributor

@rhaschke rhaschke commented Apr 6, 2021

Fixes #1607.

Copy link

@tsukione tsukione left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok with this fix

if (new_color.isValid())
{
color_ = new_color;
if (property_)
{
auto pos = cursorPosition();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe put this line together withe line 81 is better to read(just a suggestion).
It a nice fix to the issue.

@rhaschke rhaschke merged commit 1872e34 into ros-visualization:melodic-devel Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants