Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calculate areas in screen coordinates #88

Merged
merged 1 commit into from
Jan 9, 2024
Merged

Calculate areas in screen coordinates #88

merged 1 commit into from
Jan 9, 2024

Conversation

chrisbanes
Copy link
Owner

@chrisbanes chrisbanes commented Jan 9, 2024

This allows us to support things like Dialogs, which use a separate native window on Android. Currently we calculate everything in root composable coordinates, which does not work across window boundaries.

Screenshot_1704819619

Fixes #86

This allows us to support things like Dialogs, which use a separate
native window on Android. Currently we calculate everything in
root composable coordinates, which does not work across window boundaries.
@chrisbanes chrisbanes enabled auto-merge (squash) January 9, 2024 17:04
@chrisbanes chrisbanes merged commit 11c3fef into main Jan 9, 2024
1 check passed
@chrisbanes chrisbanes deleted the cb/dialog branch January 9, 2024 17:32
ZacSweers referenced this pull request in ZacSweers/CatchUp Jan 14, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [dev.chrisbanes.haze:haze](https://togithub.com/chrisbanes/haze) |
`0.4.3` -> `0.4.5` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/dev.chrisbanes.haze:haze/0.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/dev.chrisbanes.haze:haze/0.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/dev.chrisbanes.haze:haze/0.4.3/0.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/dev.chrisbanes.haze:haze/0.4.3/0.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>chrisbanes/haze (dev.chrisbanes.haze:haze)</summary>

### [`v0.4.5`](https://togithub.com/chrisbanes/haze/releases/tag/0.4.5)

[Compare
Source](https://togithub.com/chrisbanes/haze/compare/0.4.4...0.4.5)

#### Changes

- Android Previews (and screenshot tests) now display a scrim, rather
than nothing.
-   Haze children from different Android windows (i.e. Dialogs) now work

#### What's Changed

- Calculate areas in screen coordinates by
[@&#8203;chrisbanes](https://togithub.com/chrisbanes) in
[https://github.com/chrisbanes/haze/pull/88](https://togithub.com/chrisbanes/haze/pull/88)
- Update dependency androidx.compose.ui:ui to v1.6.0-rc01 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/chrisbanes/haze/pull/90](https://togithub.com/chrisbanes/haze/pull/90)
- Merge Android implementations by
[@&#8203;chrisbanes](https://togithub.com/chrisbanes) in
[https://github.com/chrisbanes/haze/pull/91](https://togithub.com/chrisbanes/haze/pull/91)

**Full Changelog**:
chrisbanes/haze@0.4.4...0.4.5

### [`v0.4.4`](https://togithub.com/chrisbanes/haze/releases/tag/0.4.4)

[Compare
Source](https://togithub.com/chrisbanes/haze/compare/0.4.3...0.4.4)

#### What's Changed

- Fix hazeChild tint not updating on Android base by
[@&#8203;chrisbanes](https://togithub.com/chrisbanes) in
[https://github.com/chrisbanes/haze/pull/83](https://togithub.com/chrisbanes/haze/pull/83)
- Update plugin mavenpublish to v0.27.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/chrisbanes/haze/pull/84](https://togithub.com/chrisbanes/haze/pull/84)
- Add screenshot tests to verify `hazeChild` tint changes by
[@&#8203;chrisbanes](https://togithub.com/chrisbanes) in
[https://github.com/chrisbanes/haze/pull/85](https://togithub.com/chrisbanes/haze/pull/85)

**Full Changelog**:
chrisbanes/haze@0.4.3...0.4.4

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ZacSweers/CatchUp).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Blur doesn't follow Dialog on Android 33
1 participant