Merge pull request #10600 from MasonAsh/fix-10596

Script editor: fixed no key repeat for CTRL+Y
This commit is contained in:
Rémi Verschelde 2017-08-27 02:11:58 +02:00 committed by GitHub
commit a6e37ae2bf

View file

@ -2736,6 +2736,15 @@ void TextEdit::_gui_input(const Ref<InputEvent> &p_gui_input) {
else else
undo(); undo();
} break; } break;
case KEY_Y: {
if (!k->get_command()) {
scancode_handled = false;
break;
}
redo();
} break;
case KEY_V: { case KEY_V: {
if (readonly) { if (readonly) {
break; break;