Merge pull request #74537 from nongvantinh/fix-74458

Fixes gutter set width results in receiving only half of the desired size
This commit is contained in:
Yuri Sizov 2023-03-20 15:31:28 +01:00 committed by GitHub
commit cfe2a14ec3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -108,7 +108,7 @@ private:
/* Line numbers */
int line_number_gutter = -1;
int line_number_digits = 0;
int line_number_digits = 1;
String line_number_padding = " ";
Color line_number_color = Color(1, 1, 1);
void _line_number_draw_callback(int p_line, int p_gutter, const Rect2 &p_region);