mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 17:35:00 +00:00
Fix menubar color
This commit is contained in:
parent
b4ed78d514
commit
9ef50a1827
@ -1,6 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## Next version (cursive-core 0.2.0, cursive 0.16)
|
||||
## cursive-core 0.2.1
|
||||
|
||||
### Bugfixes
|
||||
|
||||
- Fix colors in menubar.
|
||||
|
||||
## cursive-core 0.2.0, cursive 0.16
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
|
@ -134,7 +134,9 @@ impl Cursive {
|
||||
// Draw the menubar?
|
||||
if self.menubar.visible() {
|
||||
let printer = printer.focused(self.menubar.receive_events());
|
||||
self.menubar.draw(&printer);
|
||||
printer.with_color(theme::ColorStyle::primary(), |printer| {
|
||||
self.menubar.draw(&printer)
|
||||
});
|
||||
}
|
||||
|
||||
// finally draw stackview layers
|
||||
|
Loading…
Reference in New Issue
Block a user