Fix wrong dragged tab background theme (#469)

This commit is contained in:
Red J Adaya 2024-03-18 23:11:39 +08:00 committed by GitHub
parent c7b77608a2
commit 338b9c41c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 3 deletions

View File

@ -72,9 +72,6 @@ class ScreenTab extends React.Component<
ref={this.tabRef}
value={screen}
id={"screentab-" + screen.screenId}
whileDrag={{
backgroundColor: "rgba(13, 13, 13, 0.85)",
}}
data-screenid={screen.screenId}
className={cn(
"screen-tab",

View File

@ -99,6 +99,7 @@
flex-direction: row;
position: relative;
border-top: 2px solid transparent;
background: var(--app-bg-color);
.background {
// This applies a transparency mask to the background color, as set above, so that it will blend with whatever the theme's background color is.