Skip to content

Fix window opacity bug#1283

Merged
esimkowitz merged 1 commit into
mainfrom
evan/fix-transparency
Nov 14, 2024
Merged

Fix window opacity bug#1283
esimkowitz merged 1 commit into
mainfrom
evan/fix-transparency

Conversation

@esimkowitz
Copy link
Copy Markdown
Contributor

@esimkowitz esimkowitz commented Nov 14, 2024

With the tab refactor, we introduced a regression that prevented window transparency from working. Rather than applying overrides of the app background color (where we record window opacity) to the body of the document, we were applying it to the main div. This meant that while the main div was transparent, the body was not (since the default background color we set for the body is opaque). With this change, we update the body background directly.

@esimkowitz esimkowitz marked this pull request as ready for review November 14, 2024 04:45
@esimkowitz esimkowitz merged commit 255cb51 into main Nov 14, 2024
@esimkowitz esimkowitz deleted the evan/fix-transparency branch November 14, 2024 04:48
xxyy2024 pushed a commit to xxyy2024/waveterm_aipy that referenced this pull request Jun 24, 2025
With the tab refactor, we introduced a regression that prevented window
transparency from working. Rather than applying overrides of the app
background color (where we record window opacity) to the body of the
document, we were applying it to the main div. This meant that while the
main div was transparent, the body was not (since the default background
color we set for the body is opaque). With this change, we update the
body background directly.
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.

1 participant