Script editor: fixed no key repeat for CTRL+Y

This commit is contained in:
Mason Ashbridge 2017-08-24 01:22:00 -04:00
parent 05a6785344
commit 9def31120c

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;