Draw a checkerboard behind translucent colors in CodeEdit autocompletion previews

This makes translucent colors easier to interpret as such
and is consistent with how they're displayed in ColorPicker.
This commit is contained in:
Hugo Locurcio
2024-08-08 17:46:41 +02:00
parent 3978628c6c
commit fb88658cc8
4 changed files with 13 additions and 1 deletions

View File

@@ -721,6 +721,9 @@
<theme_item name="can_fold_code_region" data_type="icon" type="Texture2D">
Sets a custom [Texture2D] to draw in the line folding gutter when a code region can be folded.
</theme_item>
<theme_item name="completion_color_bg" data_type="icon" type="Texture2D">
Background panel for the color preview box in autocompletion (visible when the color is translucent).
</theme_item>
<theme_item name="executing_line" data_type="icon" type="Texture2D">
Icon to draw in the executing gutter for executing lines.
</theme_item>