Преглед на файлове

fix(vertical-filmstrip): enable hardware acceleration for icons

Icons on the thumbnails can flicker when scrolling through videos.
To give rendering a bit more power, and thereby help with rendering
icons without flickering, force hardware acceleration.
master
Leonard Kim преди 8 години
родител
ревизия
ae67b2b28e
променени са 1 файла, в които са добавени 6 реда и са изтрити 1 реда
  1. 6
    1
      css/_vertical_filmstrip_overrides.scss

+ 6
- 1
css/_vertical_filmstrip_overrides.scss Целия файл

@@ -65,7 +65,7 @@
65 65
             left: 0;
66 66
             top: auto;
67 67
             right: auto;
68
-            transform: rotate(-90deg);
68
+            transform: translate3d(0,0,0) rotate(-90deg);
69 69
         }
70 70
 
71 71
         #remoteVideos {
@@ -74,6 +74,11 @@
74 74
         }
75 75
 
76 76
         .videocontainer {
77
+            &__toolbar,
78
+            &__toptoolbar {
79
+                transform: translate3d(0,0,0);
80
+            }
81
+
77 82
             /**
78 83
              * Move status icons to the bottom right of the thumbnail.
79 84
              */

Loading…
Отказ
Запис