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
I encountered one inconvenience in the shader editor, when we select a line from its end to its beginning, and if we want to select a smaller section of text (moving the cursor towards the beginning of the selection), it will be very difficult, since the ScrollContainer will constantly move in the direction of the mouse movement.
It is not easy to explain, so I will attach a video of the problem:
0228.mp4
In this video I try to highlight the code ALBEDO = vec3(texture(skin_texture, UV).r,texture(skin_texture, UV).g,texture(skin_texture, UV).b) * final_color;
but only this part - vec3(texture(skin_texture, UV).r,texture(skin_texture, UV).g,texture(skin_texture, UV).b) * final_color;. It's not easy to do this - the code editor instantly moves to the right.
Steps to reproduce
Write a long code in the shader editor or in the script editor.
Select the part of the code you need, starting from the end of the line.
The text editor scrolls instantly, which is why we do not have time to select the code to the part we need.
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered:
So unintended consequence but if I am to guess this is because the way selection works relies on the broken behavior fixed by this and should be adjusted to not center in this way in these cases, but don't know the relevant code well enough to propose any fix
Tested versions
Godot 4.4 RC2
System information
Godot v4.4.rc2 - Windows 10 (build 19045) - Multi-window, 1 monitor - Vulkan (Forward+) - dedicated Radeon RX 560 Series (Advanced Micro Devices, Inc.; 31.0.21912.14) - Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz (4 threads)
Issue description
I encountered one inconvenience in the shader editor, when we select a line from its end to its beginning, and if we want to select a smaller section of text (moving the cursor towards the beginning of the selection), it will be very difficult, since the ScrollContainer will constantly move in the direction of the mouse movement.
It is not easy to explain, so I will attach a video of the problem:
0228.mp4
In this video I try to highlight the code
ALBEDO = vec3(texture(skin_texture, UV).r,texture(skin_texture, UV).g,texture(skin_texture, UV).b) * final_color;
but only this part -
vec3(texture(skin_texture, UV).r,texture(skin_texture, UV).g,texture(skin_texture, UV).b) * final_color;
. It's not easy to do this - the code editor instantly moves to the right.Steps to reproduce
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: