GDevelop icon indicating copy to clipboard operation
GDevelop copied to clipboard

Rename object group with f2

Open AlexandreSi opened this issue 2 years ago • 3 comments

To have the same behavior between objects list and groups list.

@danired we didn't think about this: users wouldn't understand that this feature doesn't work in the groups list.

AlexandreSi avatar Jan 20 '23 15:01 AlexandreSi

Haha that's good!

I really thought about this feature but I saw that when clicking a Group name, the group is not highlighted as selected, so I thought it would be a little harder and I put the task in the Backlog.

One question: When both a Object and a Group are selected and you press F2, which one begins the rename process?

danired avatar Jan 20 '23 16:01 danired

One question: When both a Object and a Group are selected and you press F2, which one begins the rename process?

You can see in the PR that I added a state variable to the SceneEditor component that stores which editor is active (last panel clicked) that allows to know which was the last panel the user was interacting with. Based on that, the correct selected object or group is renamed

AlexandreSi avatar Jan 20 '23 16:01 AlexandreSi

You can see in the PR that I added a state variable to the SceneEditor component that stores which editor is active...

Good one! You made a great work.

danired avatar Jan 20 '23 16:01 danired