cursor finally working properly and removed from render_text
This commit is contained in:
1 parent
9d659b6afd
commit
2700c31c13
15 files changed
+110
-118
No files matched your search
+1
-1
@@ -29,7 +29,7 @@ impl Rect {
|
||||
|
||||
impl Widget for Rect {
|
||||
fn draw(&mut self, painter: &mut Painter) {
|
||||
painter.write(RectPrimitive {
|
||||
painter.primitive(RectPrimitive {
|
||||
color: self.color,
|
||||
radius: self.radius,
|
||||
thickness: self.thickness,
|
||||
|
||||
Reference in new issue
Block a user