mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-15 02:25:17 +00:00
Enter on a selected effect (in Effect Controls, or in the Timeline while Effect Controls shows the effect) focused the effect's rename field before the field existed. The field was then drawn in the same pass as that Enter, took it and gave the keyboard straight back, so it stayed open without the keyboard and with the caret after the name: typing didn't replace the name. The field now takes the keyboard and selects its whole name the pass it is first drawn, as a double-click or the header menu's Rename already opened it, and that pass doesn't commit it. It also always opens on the name the header draws: Enter opened it on the English registry name, so in a translated interface the field showed a different name than the header, and committing it untouched counted as a rename. Fixes #3198