Add assistant icons to the toolbar
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
c5b3785be5
commit
edc7f30660
6 changed files with 132 additions and 102 deletions
|
@ -165,6 +165,7 @@ impl<V: View> Element<V> for Label {
|
|||
_: &mut V,
|
||||
cx: &mut ViewContext<V>,
|
||||
) -> Self::PaintState {
|
||||
let visible_bounds = bounds.intersection(visible_bounds).unwrap_or_default();
|
||||
line.paint(
|
||||
scene,
|
||||
bounds.origin(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue