mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 22:00:03 -04:00
Enable and fix some more clippy lints
This commit is contained in:
@@ -30,7 +30,7 @@ impl Shadow {
|
||||
}
|
||||
}
|
||||
|
||||
/// Used for widnows in dark mode.
|
||||
/// Used for egui windows in dark mode.
|
||||
pub fn big_dark() -> Self {
|
||||
Self {
|
||||
extrusion: 32.0,
|
||||
@@ -38,7 +38,7 @@ impl Shadow {
|
||||
}
|
||||
}
|
||||
|
||||
/// Used for widnows in light mode.
|
||||
/// Used for egui windows in light mode.
|
||||
pub fn big_light() -> Self {
|
||||
Self {
|
||||
extrusion: 32.0,
|
||||
@@ -46,7 +46,7 @@ impl Shadow {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn tessellate(&self, rect: emath::Rect, rounding: impl Into<Rounding>) -> Mesh {
|
||||
pub fn tessellate(&self, rect: Rect, rounding: impl Into<Rounding>) -> Mesh {
|
||||
// tessellator.clip_rect = clip_rect; // TODO(emilk): culling
|
||||
|
||||
let Self { extrusion, color } = *self;
|
||||
|
||||
Reference in New Issue
Block a user