From 3c37e6797290bd6c5c7c62cdef311af7d56fd341 Mon Sep 17 00:00:00 2001 From: dbr Date: Thu, 11 Feb 2021 10:40:34 +1100 Subject: [PATCH] Address another clippy lint --- imgui-examples/examples/custom_textures.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui-examples/examples/custom_textures.rs b/imgui-examples/examples/custom_textures.rs index 8db0867..2dc6acf 100644 --- a/imgui-examples/examples/custom_textures.rs +++ b/imgui-examples/examples/custom_textures.rs @@ -164,7 +164,7 @@ impl CustomTexturesApp { // Tint brighter for visiblity of corners .col([2.0, 0.5, 0.5, 1.0]) // Rounding on each corner can be changed separately - .round_top_left((ui.frame_count() + 0) / 60 % 4 == 0) + .round_top_left(ui.frame_count() / 60 % 4 == 0) .round_top_right((ui.frame_count() + 1) / 60 % 4 == 1) .round_bot_right((ui.frame_count() + 3) / 60 % 4 == 2) .round_bot_left((ui.frame_count() + 2) / 60 % 4 == 3)