Merge pull request #10600 from MasonAsh/fix-10596
Script editor: fixed no key repeat for CTRL+Y
This commit is contained in:
commit
a6e37ae2bf
1 changed files with 9 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue