do not overlap current line with selection color

This commit is contained in:
toger5
2017-09-28 16:10:30 +02:00
parent d9272bfdbf
commit e49ac08c24
2 changed files with 16 additions and 7 deletions

View File

@@ -811,8 +811,8 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
const Color dim_color = Color(font_color.r, font_color.g, font_color.b, 0.5);
const float mono_value = mono_color.r;
const Color alpha1 = Color(mono_value, mono_value, mono_value, 0.1);
const Color alpha2 = Color(mono_value, mono_value, mono_value, 0.3);
const Color alpha1 = Color(mono_value, mono_value, mono_value, 0.07);
const Color alpha2 = Color(mono_value, mono_value, mono_value, 0.14);
const Color alpha3 = Color(mono_value, mono_value, mono_value, 0.5);
const Color alpha4 = Color(mono_value, mono_value, mono_value, 0.7);