mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2026-07-17 15:56:57 +02:00
fix Size, begin fixing View
This commit is contained in:
parent
a06ea2ac13
commit
a93fe92a59
3 changed files with 38 additions and 18 deletions
|
|
@ -17,11 +17,6 @@ pub(crate) use ::unicode_width::*;
|
|||
self.as_str().draw(to)
|
||||
}
|
||||
}
|
||||
impl Draw<Tui> for std::sync::Arc<str> {
|
||||
fn draw (self, to: &mut Tui) -> Usually<XYWH<u16>> {
|
||||
self.as_ref().draw(to)
|
||||
}
|
||||
}
|
||||
impl Draw<Tui> for &std::sync::Arc<str> {
|
||||
fn draw (self, to: &mut Tui) -> Usually<XYWH<u16>> {
|
||||
self.as_ref().draw(to)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue