mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-10 14:05:32 +02:00
Update target Godot version: 3.3.2-stable -> 3.4.4-stable
This commit is contained in:
parent
1659591d15
commit
bb74585c20
6 changed files with 18 additions and 16 deletions
|
@ -8,6 +8,7 @@
|
|||
#include <ResourceLoader.hpp>
|
||||
#include <Theme.hpp>
|
||||
#include <algorithm>
|
||||
#include <string>
|
||||
#include <xkbcommon/xkbcommon-keysyms.h>
|
||||
|
||||
// For _populate_key_list(), see below.
|
||||
|
@ -418,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