mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-25 02:30:27 +01:00
parent
3e177b781e
commit
472f0f573b
2 changed files with 4 additions and 1 deletions
|
@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
### Added
|
||||||
|
- Theme colors now support transparency.
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- Set a default theme if no theme property has been set.
|
- Set a default theme if no theme property has been set.
|
||||||
|
|
||||||
|
|
|
@ -385,7 +385,7 @@ void Terminal::update_theme()
|
||||||
color_palette[color][1] = c.get_g8();
|
color_palette[color][1] = c.get_g8();
|
||||||
color_palette[color][2] = c.get_b8();
|
color_palette[color][2] = c.get_b8();
|
||||||
|
|
||||||
palette.erase(color) = c;
|
palette[color] = c;
|
||||||
};
|
};
|
||||||
|
|
||||||
set_pallete_color(TSM_COLOR_BLACK, "Black", 0, 0, 0);
|
set_pallete_color(TSM_COLOR_BLACK, "Black", 0, 0, 0);
|
||||||
|
|
Loading…
Reference in a new issue