mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 17:35:00 +00:00
Revert colors in mines example
This commit is contained in:
parent
8d9d17d372
commit
8ecd4fdb62
@ -208,7 +208,7 @@ impl cursive::view::View for BoardView {
|
|||||||
};
|
};
|
||||||
|
|
||||||
printer.with_color(
|
printer.with_color(
|
||||||
ColorStyle::new(color, Color::Dark(BaseColor::Black)),
|
ColorStyle::new(Color::Dark(BaseColor::Black), color),
|
||||||
|printer| printer.print((x, y), text),
|
|printer| printer.print((x, y), text),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user