summaryrefslogtreecommitdiffstats
path: root/examples/solar_system/src/main.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector@hecrj.dev>2024-02-10 00:50:49 +0100
committerLibravatar GitHub <noreply@github.com>2024-02-10 00:50:49 +0100
commitc63529095604ffde00a504ed083474707ab484de (patch)
tree76a8a103f6352263ccd30a7e230089fbb2d54822 /examples/solar_system/src/main.rs
parent7ee00e751a8fe5cedadeeb478c6f0e7d6a5dc0dc (diff)
parent0bcdefeb00c899c23bc7b54903df5bcbc644fbb5 (diff)
downloadiced-c63529095604ffde00a504ed083474707ab484de.tar.gz
iced-c63529095604ffde00a504ed083474707ab484de.tar.bz2
iced-c63529095604ffde00a504ed083474707ab484de.zip
Merge pull request #2231 from Koranir/transparency-fix
Fix alpha mode misconfiguration in wgpu renderer
Diffstat (limited to 'examples/solar_system/src/main.rs')
-rw-r--r--examples/solar_system/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/solar_system/src/main.rs b/examples/solar_system/src/main.rs
index 82421a86..a58ca683 100644
--- a/examples/solar_system/src/main.rs
+++ b/examples/solar_system/src/main.rs
@@ -88,7 +88,7 @@ impl Application for SolarSystem {
}
}
- theme::Application::from(dark_background as fn(&Theme) -> _)
+ theme::Application::custom(dark_background)
}
fn subscription(&self) -> Subscription<Message> {