Skip to content

Conversation

@Somebud0180
Copy link
Contributor

Summary

  • Added .interactive() to the toolbar buttons' glassEffect to allow system app-like morphing.
  • Wrapped the Liquid Glass toolbar in GlassEffectContainer to allow button interactions.
  • (In consequence of adding GlassEffectContainer) Added .contentShape to ToolbarView.swift to capture hit-testing and fix the image blocking the toolbar button press.
  • Added .zIndex(1) to the rotation buttons in the legacy view to put it in front of the image, same goal as above.

Before:

Before.mp4

After:

After.mp4

Somebud0180 and others added 4 commits August 6, 2025 21:04
…leviate buggy button interactions when the image is under the toolbar
Make the liquid glass toolbar button and the legacy rotation button interactive even when the image appears behind it
@benedom
Copy link
Owner

benedom commented Aug 11, 2025

Thanks for the contribution @Somebud0180, merged it and created a new version!

@benedom benedom merged commit d496439 into benedom:master Aug 11, 2025
1 check passed
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.

2 participants