Skip to content

Commit

Permalink
Scale strikethrough to match editor scale
Browse files Browse the repository at this point in the history
  • Loading branch information
Meorge committed Dec 20, 2024
1 parent 9c582f3 commit 8310299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scene/gui/code_edit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ void CodeEdit::_notification(int p_what) {
}

if (code_completion_options[i].deprecated) {
draw_line(Point2(title_pos.x, title_pos.y + row_height / 2), Point2(title_pos.x + tl->get_line_width(), title_pos.y + row_height / 2), code_completion_options[l].font_color, 2.0);
draw_line(Point2(title_pos.x, title_pos.y + row_height / 2), Point2(title_pos.x + tl->get_line_width(), title_pos.y + row_height / 2), code_completion_options[l].font_color, Math::round(theme_cache.font_size / 8.0));
}

Point2 match_pos = Point2(code_completion_rect.position.x + icon_area_size.x + theme_cache.code_completion_icon_separation, code_completion_rect.position.y + i * row_height);
Expand Down

0 comments on commit 8310299

Please sign in to comment.