mirror of
https://github.com/godotengine/godot.git
synced 2025-02-23 23:15:07 +08:00
Fix CTRL+V doesn't work properly in inspector textedit
This commit is contained in:
parent
efc87481e4
commit
91974057a5
@ -795,7 +795,7 @@ void EditorProperty::gui_input(const Ref<InputEvent> &p_event) {
|
||||
}
|
||||
|
||||
void EditorProperty::unhandled_key_input(const Ref<InputEvent> &p_event) {
|
||||
if (!selected) {
|
||||
if (!selected || !p_event->is_pressed()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user