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

@ -857,7 +857,7 @@ where
if (mouse_over_x_scrollbar || mouse_over_y_scrollbar)
|| state.scrollers_grabbed()
{
mouse::Interaction::Idle
mouse::Interaction::None
} else {
let translation =
state.translation(self.direction, bounds, content_bounds);