Introduce opaque widget helper

This commit is contained in:
Héctor Ramón Jiménez 2024-04-25 06:05:00 +02:00
parent 9492da11d9
commit 4cd45643d7
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
13 changed files with 182 additions and 12 deletions

View file

@ -232,7 +232,7 @@ where
);
match (self.interaction, content_interaction) {
(Some(interaction), mouse::Interaction::Idle)
(Some(interaction), mouse::Interaction::None)
if cursor.is_over(layout.bounds()) =>
{
interaction