Rename pop widget to sensor 📡

This commit is contained in:
Héctor Ramón Jiménez 2025-08-02 22:57:09 +02:00
parent c46600a69a
commit 57c628839a
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
5 changed files with 31 additions and 28 deletions

View file

@ -10,7 +10,7 @@ use iced::animation;
use iced::time::{Instant, milliseconds};
use iced::widget::{
button, container, float, grid, horizontal_space, image, mouse_area,
opaque, pop, scrollable, stack,
opaque, scrollable, sensor, stack,
};
use iced::window;
use iced::{
@ -257,7 +257,7 @@ fn card<'a>(
.style(button::text)
.into()
} else {
pop(card)
sensor(card)
.on_show(|_| Message::ImagePoppedIn(metadata.id))
.into()
}