Fixes  gutter set width results in receiving only half of the desired size

This commit is contained in:
Nong Van Tinh 2023-03-07 16:53:46 +07:00
parent 5f2137a050
commit bb3d0fc6b7

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);