summaryrefslogtreecommitdiffstats
path: root/src/application.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2020-06-01 22:01:28 +0200
committerLibravatar GitHub <noreply@github.com>2020-06-01 22:01:28 +0200
commit2ba9598f8022bf3035d97f1a30e53117b9619235 (patch)
treed10476b912bf0d2920a83101d58141f51d7360f7 /src/application.rs
parentd34f8e06c8e3cdbba07a272f346163cfc0f920a6 (diff)
parenta65d6a11cb82719a649110a8deaeb8f87e1c374b (diff)
downloadiced-2ba9598f8022bf3035d97f1a30e53117b9619235.tar.gz
iced-2ba9598f8022bf3035d97f1a30e53117b9619235.tar.bz2
iced-2ba9598f8022bf3035d97f1a30e53117b9619235.zip
Merge pull request #371 from myfreeweb/window-alpha
Add custom window background/clear color (incl. transparency) support, fixes #272
Diffstat (limited to '')
-rw-r--r--src/application.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/application.rs b/src/application.rs
index 19cab7da..a529580e 100644
--- a/src/application.rs
+++ b/src/application.rs
@@ -195,6 +195,7 @@ pub trait Application: Sized {
} else {
None
},
+ background_color: settings.background_color,
..crate::renderer::Settings::default()
};