theme: add ThemeColor enum
This commit is contained in:
parent
c75b6ef66e
commit
cf8b696f03
4 changed files with 82 additions and 41 deletions
|
|
@ -478,6 +478,10 @@ impl OutputNode {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn on_colors_changed(self: &Rc<Self>) {
|
||||
self.schedule_update_render_data();
|
||||
}
|
||||
|
||||
pub fn set_preferred_scale(self: &Rc<Self>, scale: Scale) {
|
||||
let old_scale = self.global.persistent.scale.replace(scale);
|
||||
if scale == old_scale {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue