-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Toggling breakpoints break when line spacing is high #93036
Comments
Looks like it might be |
int TextEdit::get_line_height() const {
return MAX(text.get_line_height() + theme_cache.line_spacing, 1);
} Shouldn't this account for it? |
I believe the issue is because
#92865 fixes it by exposing |
Tested versions
System information
N/A
Issue description
When hovering/clicking the breakpoint gutter in a
Text/CodeEdit
node that hasline_spacing
set to a high value, it can result in the wrong line getting the breakpoint.CC @kitbdev.
Steps to reproduce
Text/CodeEdit
node and put some text in it.line_spacing
theme property to a high value (e. g. 10).Minimal reproduction project (MRP)
Unnecessary, trivial to reproduce.
The text was updated successfully, but these errors were encountered: