Fix push/pop of colors not updating colors on screen until a dynamic color is also changed.
Fixes #4351
This commit is contained in:
parent
547e4a3d7e
commit
1f264ffec5
1 changed files with 2 additions and 2 deletions
|
|
@ -2075,12 +2075,12 @@ screen_handle_cmd(Screen *self, PyObject *cmd) {
|
|||
|
||||
void
|
||||
screen_push_colors(Screen *self, unsigned int idx) {
|
||||
colorprofile_push_colors(self->color_profile, idx);
|
||||
if (colorprofile_push_colors(self->color_profile, idx)) self->color_profile->dirty = true;
|
||||
}
|
||||
|
||||
void
|
||||
screen_pop_colors(Screen *self, unsigned int idx) {
|
||||
colorprofile_pop_colors(self->color_profile, idx);
|
||||
if (colorprofile_pop_colors(self->color_profile, idx)) self->color_profile->dirty = true;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Reference in a new issue