Move DEFAULT_HEIGHT constant to Renderer
Also fixes some minor documentation issues.
This commit is contained in:
parent
0b663ca82a
commit
9116afaf59
2 changed files with 22 additions and 19 deletions
|
|
@ -2,6 +2,8 @@ use crate::{Primitive, Renderer};
|
|||
use iced_native::{progress_bar, Background, Color, MouseCursor, Rectangle};
|
||||
|
||||
impl progress_bar::Renderer for Renderer {
|
||||
const DEFAULT_HEIGHT: u16 = 30;
|
||||
|
||||
fn draw(
|
||||
&self,
|
||||
bounds: Rectangle,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue