You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Holding the shortcut for Undo or Redo (Ctrl+Z or Ctrl+Shift+Z by default) does not auto-repeat the action. I would expect the action to be repeated as long as the shortcut is held. This works as expected in the text editor, but not in the global editor.
Removing the && !p_event->is_echo() from this line fixes the issue.
However, that would allow other shortcuts to be repeatable that might not need to be.
("Toggle Fullscreen" (Shift+F11) is the only one I could find that does)
There should probably be some mechanism to mark shortcuts as repeatable. But even in its current state, I'd much prefer being able to repeat undo/redo while having the possibility of some actions repeating than not, just to save my fingers.
Steps to reproduce
Hold Ctrl+Z or Ctrl+Shift+Z
Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered:
Godot version
v4.1.rc1.official [1f9e540]
System information
Godot v4.1.rc1 - Windows 10.0.22621 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1650 (NVIDIA; 31.0.15.2824) - Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 Threads)
Issue description
Holding the shortcut for Undo or Redo (Ctrl+Z or Ctrl+Shift+Z by default) does not auto-repeat the action. I would expect the action to be repeated as long as the shortcut is held. This works as expected in the text editor, but not in the global editor.
Removing the
&& !p_event->is_echo()
from this line fixes the issue.godot/scene/gui/menu_bar.cpp
Line 155 in c3b0a92
However, that would allow other shortcuts to be repeatable that might not need to be.
("Toggle Fullscreen" (Shift+F11) is the only one I could find that does)
There should probably be some mechanism to mark shortcuts as repeatable. But even in its current state, I'd much prefer being able to repeat undo/redo while having the possibility of some actions repeating than not, just to save my fingers.
Steps to reproduce
Hold Ctrl+Z or Ctrl+Shift+Z
Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered: