diff --git a/src/component/image.rs b/src/component/image.rs index af14a04bc9d2fb280baed0a91c7ebd22b4e446a0..abb8ffff9359ed1e54079db24012ba1189c99855 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.