diff --git a/CHANGELOG.md b/CHANGELOG.md index 9be77f7..e54316e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/cursive-core/src/cursive.rs b/cursive-core/src/cursive.rs index 3f0bf45..40e3fab 100644 --- a/cursive-core/src/cursive.rs +++ b/cursive-core/src/cursive.rs @@ -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