Rename Empty widget to Space

This commit is contained in:
Héctor Ramón Jiménez 2019-12-30 21:32:21 +01:00
parent 8426bf953c
commit 3a327e08e9
8 changed files with 69 additions and 69 deletions

View file

@ -1,12 +1,12 @@
mod button;
mod checkbox;
mod column;
mod empty;
mod image;
mod radio;
mod row;
mod scrollable;
mod slider;
mod space;
mod text;
mod text_input;

View file

@ -1,7 +1,7 @@
use crate::{Primitive, Renderer};
use iced_native::{empty, MouseCursor, Rectangle};
use iced_native::{space, MouseCursor, Rectangle};
impl empty::Renderer for Renderer {
impl space::Renderer for Renderer {
fn draw(&mut self, _bounds: Rectangle) -> Self::Output {
(Primitive::None, MouseCursor::OutOfBounds)
}