Skip to content

Commit ccad8c2

Browse files
committed
Address warnings in bevy-egui-test
1 parent 62bdba7 commit ccad8c2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/bin/bevy-egui-test.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ fn ui_example_system(
3636
mut is_initialized: Local<bool>,
3737
mut word_size: Local<egui::Vec2>,
3838
mut glyph_size: Local<egui::Vec2>,
39-
mut stroke_width: Local<f32>,
40-
mut circle_radius: Local<f32>,
4139
) {
4240
if !*is_initialized {
4341
*word_size = egui::vec2(0.0, 1.0);
@@ -131,7 +129,7 @@ fn tunic_word_ui(ui: &mut egui::Ui, word_size: egui::Vec2, glyph_size: egui::Vec
131129

132130
let desired_size = ui.spacing().interact_size.x * word_size;
133131

134-
let (rect, mut response) = ui.allocate_exact_size(desired_size, egui::Sense::hover());
132+
let (_rect, mut response) = ui.allocate_exact_size(desired_size, egui::Sense::hover());
135133

136134
response.mark_changed();
137135

0 commit comments

Comments
 (0)