Fix #97498. Fallback to default value for translate3d

This commit is contained in:
rebornix
2020-05-12 10:03:42 -07:00
parent d44de51212
commit e1d8f5155c
+2 -1
View File
@@ -278,7 +278,8 @@ export class ListView<T> implements ISpliceable<T>, IDisposable {
this.rowsContainer = document.createElement('div');
this.rowsContainer.className = 'monaco-list-rows';
if (options.transformOptimization) {
const transformOptimization = getOrDefault(options, o => o.transformOptimization, DefaultOptions.transformOptimization);
if (transformOptimization) {
this.rowsContainer.style.transform = 'translate3d(0px, 0px, 0px)';
}