From decb86171660bf77ad3266bbda5db5e7c2743f41 Mon Sep 17 00:00:00 2001 From: Finn Bear <finnbearlabs@gmail.com> Date: Sat, 30 Apr 2022 14:12:42 -0700 Subject: [PATCH] Fix a smol bug. --- src/component/image.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/component/image.rs b/src/component/image.rs index af14a04..abb8fff 100644 --- a/src/component/image.rs +++ b/src/component/image.rs @@ -49,7 +49,7 @@ impl Image { } pub fn show(&mut self, ui: &mut Ui, texture: &TextureHandle) { - let mut window = Window::new(texture.name()) + let mut window = Window::new(format!("{}-{}", texture.name(), self.height)) .title_bar(false) .resizable(false) // Reduce margin of images. -- GitLab