cursor finally working properly and removed from render_text
This commit is contained in:
@@ -7,7 +7,7 @@ pub struct Image {
|
||||
|
||||
impl Widget for Image {
|
||||
fn draw(&mut self, painter: &mut Painter) {
|
||||
painter.draw_texture(&self.handle);
|
||||
painter.texture(&self.handle);
|
||||
}
|
||||
|
||||
fn get_size(&mut self, _: &mut SizeCtx) -> Vec2 {
|
||||
|
||||
Reference in New Issue
Block a user