Skip to content

Commit

Permalink
remove transition as it lags on low spec dev
Browse files Browse the repository at this point in the history
  • Loading branch information
sbatten committed Mar 19, 2020
1 parent 1795801 commit 6e06490
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
14 changes: 9 additions & 5 deletions src/vs/workbench/browser/media/part.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,20 @@
overflow: hidden;
}


.monaco-workbench .part > .drop-block-overlay.visible {
display: block;
backdrop-filter: brightness(97%) blur(2px);
opacity: 1;
z-index: 10;
}

.monaco-workbench .part > .drop-block-overlay {
visibility: hidden; /* use visibility to ensure transitions */
transition-property: opacity;
transition-timing-function: linear;
transition-duration: 250ms;
display: none;
width: 100%;
height: 100%;
position: absolute;
top: 0;
opacity: 0;
pointer-events: none;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@
width: 48px;
}

.monaco-workbench .part > .drop-block-overlay.visible {
visibility: visible;
backdrop-filter: brightness(97%) blur(2px);
opacity: 1;
}

.monaco-workbench .activitybar > .content {
height: 100%;
display: flex;
Expand Down

0 comments on commit 6e06490

Please sign in to comment.