summaryrefslogtreecommitdiffstats
path: root/examples/integration_opengl/src/controls.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/integration_opengl/src/controls.rs')
-rw-r--r--examples/integration_opengl/src/controls.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/integration_opengl/src/controls.rs b/examples/integration_opengl/src/controls.rs
index f387b4e5..fdaa29d5 100644
--- a/examples/integration_opengl/src/controls.rs
+++ b/examples/integration_opengl/src/controls.rs
@@ -89,13 +89,13 @@ impl Program for Controls {
.spacing(10)
.push(
Text::new("Background color")
- .color(Color::WHITE),
+ .style(Color::WHITE),
)
.push(sliders)
.push(
Text::new(format!("{:?}", background_color))
.size(14)
- .color(Color::WHITE),
+ .style(Color::WHITE),
),
),
)