mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 17:35:00 +00:00
Remove debug artifacts
And bring back the shadows!
This commit is contained in:
parent
078a966381
commit
651c7d619b
@ -107,11 +107,7 @@ impl<'a> Printer<'a> {
|
|||||||
let text: String = ::std::iter::repeat(c).take(len).collect();
|
let text: String = ::std::iter::repeat(c).take(len).collect();
|
||||||
|
|
||||||
let p = p + self.offset;
|
let p = p + self.offset;
|
||||||
// self.backend.print_at((p.x, p.y), &text);
|
self.backend.print_at((p.x, p.y), &text);
|
||||||
self.print(p, &text);
|
|
||||||
for x in 0..len {
|
|
||||||
self.backend.print_at((p.x + x, p.y), c);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Call the given closure with a colored printer,
|
/// Call the given closure with a colored printer,
|
||||||
|
@ -80,7 +80,7 @@ impl<T: View> ViewWrapper for ShadowView<T> {
|
|||||||
printer.size - (1, 1),
|
printer.size - (1, 1),
|
||||||
true));
|
true));
|
||||||
|
|
||||||
if printer.theme.shadow && false {
|
if printer.theme.shadow {
|
||||||
let h = printer.size.y;
|
let h = printer.size.y;
|
||||||
let w = printer.size.x;
|
let w = printer.size.x;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user