mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-03 20:14:22 +02:00
Update target Godot version: 3.3.2-stable -> 3.4.4-stable
Also apply automatic updates to .import files after opening project in 3.4.4 editor.
This commit is contained in:
parent
3fdc9ef27e
commit
f0bd70cb3e
4 changed files with 8 additions and 17 deletions
|
@ -419,14 +419,12 @@ void Terminal::update_theme() {
|
|||
Color default_color) -> void {
|
||||
Color c;
|
||||
|
||||
c = has_color(theme_color, "Terminal")
|
||||
? get_color(theme_color, "Terminal")
|
||||
: has_color_override(theme_color)
|
||||
? get_color(theme_color, "")
|
||||
: (default_theme != nullptr &&
|
||||
default_theme->has_color(theme_color, "Terminal"))
|
||||
? default_theme->get_color(theme_color, "Terminal")
|
||||
: default_color;
|
||||
c = has_color(theme_color, "Terminal") ? get_color(theme_color, "Terminal")
|
||||
: has_color_override(theme_color) ? get_color(theme_color, "")
|
||||
: (default_theme != nullptr &&
|
||||
default_theme->has_color(theme_color, "Terminal"))
|
||||
? default_theme->get_color(theme_color, "Terminal")
|
||||
: default_color;
|
||||
|
||||
color_palette[color][0] = c.get_r8();
|
||||
color_palette[color][1] = c.get_g8();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue