mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 05:15:00 +00:00
Remove stray use of pathfinder_geometry
This commit is contained in:
parent
e44ea6b379
commit
1cb987d489
1 changed files with 6 additions and 3 deletions
|
@ -2,7 +2,10 @@ use crate::{
|
|||
color::ColorU,
|
||||
font_cache::FamilyId,
|
||||
fonts::Properties,
|
||||
geometry::vector::{vec2f, Vector2F},
|
||||
geometry::{
|
||||
rect::RectF,
|
||||
vector::{vec2f, Vector2F},
|
||||
},
|
||||
text_layout::Line,
|
||||
AfterLayoutContext, Element, Event, EventContext, LayoutContext, PaintContext, SizeConstraint,
|
||||
};
|
||||
|
@ -127,7 +130,7 @@ impl Element for Label {
|
|||
|
||||
fn paint(
|
||||
&mut self,
|
||||
bounds: pathfinder_geometry::rect::RectF,
|
||||
bounds: RectF,
|
||||
layout: &mut Self::LayoutState,
|
||||
ctx: &mut PaintContext,
|
||||
) -> Self::PaintState {
|
||||
|
@ -137,7 +140,7 @@ impl Element for Label {
|
|||
fn dispatch_event(
|
||||
&mut self,
|
||||
_: &Event,
|
||||
_: pathfinder_geometry::rect::RectF,
|
||||
_: RectF,
|
||||
_: &mut Self::LayoutState,
|
||||
_: &mut Self::PaintState,
|
||||
_: &mut EventContext,
|
||||
|
|
Loading…
Reference in a new issue