mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-07 19:19:12 +00:00
Add strikethrough support back to Label
This commit is contained in:
parent
19434afe0a
commit
ed2c8cdc25
1 changed files with 11 additions and 11 deletions
|
@ -133,17 +133,17 @@ impl<S: 'static + Send + Sync + Clone> Label<S> {
|
||||||
|
|
||||||
div()
|
div()
|
||||||
.flex()
|
.flex()
|
||||||
// .when(self.strikethrough, |this| {
|
.when(self.strikethrough, |this| {
|
||||||
// this.relative().child(
|
this.relative().child(
|
||||||
// div()
|
div()
|
||||||
// .absolute()
|
.absolute()
|
||||||
// .top_px()
|
.top_px()
|
||||||
// .my_auto()
|
.my_auto()
|
||||||
// .w_full()
|
.w_full()
|
||||||
// .h_px()
|
.h_px()
|
||||||
// .fill(LabelColor::Hidden.hsla(cx)),
|
.fill(LabelColor::Hidden.hsla(cx)),
|
||||||
// )
|
)
|
||||||
// })
|
})
|
||||||
.children(runs.into_iter().map(|run| {
|
.children(runs.into_iter().map(|run| {
|
||||||
let mut div = div();
|
let mut div = div();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue