This commit is contained in:
parent
e3bb9c9b21
commit
d464039cc5
1 changed files with 2 additions and 1 deletions
|
@ -694,7 +694,8 @@ impl eframe::App for Portfolio {
|
|||
let time_offset =
|
||||
m.data.get_temp_mut_or_default::<f64>(image_response.id);
|
||||
|
||||
if image_response.clicked() && !self.image_zoomed {
|
||||
if image_response.clicked() && !self.image_zoomed && self.zoomed
|
||||
{
|
||||
link_clicked = true;
|
||||
*time_offset = time;
|
||||
self.last_image_zoomed = image_response.id;
|
||||
|
|
Loading…
Reference in a new issue