Repository: zng-ui/zng (language: rust)

Issue:
Rounded corners hit-test (default) does not work if corner_radius is larger then the size
<!--
Please, make sure:

- The issue happens in the latest crate release or newer (master branch).
- The issue happens after `cargo update`.
-->

#### I tried this code:

```rust
Wgt! {
    layout::size = 50;
    widget::corner_radius = 150;
    widget::background_color = colors::RED;
    widget::border = 10, colors::BLUE;
    
    when *#gesture::is_hovered {
        widget::background_color = colors::GREEN;
    }
}
```

#### Following these steps:

1 - Run.
2 - Hover the widget.

#### I saw this happen:

Background color does not change.

#### I expected this to happen:

Background color change on hover.


Discussion / hints:

Fix patch:
diff --git a/crates/zng-app/src/widget/info/hit.rs b/crates/zng-app/src/widget/info/hit.rs
index bd349fb49..75bcdd205 100644
--- a/crates/zng-app/src/widget/info/hit.rs
+++ b/crates/zng-app/src/widget/info/hit.rs
@@ -25,10 +25,11 @@ impl HitTestClips {
         self.items.push(HitTestItem::Clip(HitTestPrimitive::Rect(clip_rect), clip_out));
     }
 
-    pub fn push_rounded_rect(&mut self, rect: PxBox, radii: PxCornerRadius) {
+    pub fn push_rounded_rect(&mut self, rect: PxBox, mut radii: PxCornerRadius) {
         if radii == PxCornerRadius::zero() {
             self.push_rect(rect);
         } else {
+            ensure_no_corner_overlap(&mut radii, rect.size());
             self.items.push(HitTestItem::Hit(HitTestPrimitive::RoundedRect(rect, radii)));
         }
     }


Test patch: