clippy: Fix warnings
This commit is contained in:
parent
45fc2ca051
commit
e9389a3a18
2 changed files with 3 additions and 3 deletions
|
|
@ -117,7 +117,7 @@ impl Tile {
|
|||
snapshot.append_scaled_texture(&self.texture, options.scaling_filter, &area_with_bleed);
|
||||
snapshot.pop();
|
||||
|
||||
if std::env::var_os("LOUPE_TILING_DEBUG").is_some_and(|x| x.len() > 0) {
|
||||
if std::env::var_os("LOUPE_TILING_DEBUG").is_some_and(|x| !x.is_empty()) {
|
||||
snapshot.append_inset_shadow(
|
||||
&gsk::RoundedRect::from_rect(area, 0.),
|
||||
&gdk::RGBA::new(1., 0., 0., 0.7),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue