mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-10 03:10:41 +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 p = p + self.offset;
|
||||
// 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);
|
||||
}
|
||||
self.backend.print_at((p.x, p.y), &text);
|
||||
}
|
||||
|
||||
/// Call the given closure with a colored printer,
|
||||
|
@ -80,7 +80,7 @@ impl<T: View> ViewWrapper for ShadowView<T> {
|
||||
printer.size - (1, 1),
|
||||
true));
|
||||
|
||||
if printer.theme.shadow && false {
|
||||
if printer.theme.shadow {
|
||||
let h = printer.size.y;
|
||||
let w = printer.size.x;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user