mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 949561 - The VariablesView and SideMenuWidget should use hardware acceleration when possible, r=fitzgen
This commit is contained in:
parent
fde66faaff
commit
9bb2857db1
@ -913,6 +913,7 @@ VariablesView.prototype = {
|
||||
label.className = "variables-view-empty-notice";
|
||||
label.setAttribute("value", this._emptyTextValue);
|
||||
|
||||
this._parent.setAttribute("empty", "");
|
||||
this._parent.appendChild(label);
|
||||
this._emptyTextNode = label;
|
||||
},
|
||||
@ -925,6 +926,7 @@ VariablesView.prototype = {
|
||||
return;
|
||||
}
|
||||
|
||||
this._parent.removeAttribute("empty");
|
||||
this._parent.removeChild(this._emptyTextNode);
|
||||
this._emptyTextNode = null;
|
||||
},
|
||||
|
@ -269,6 +269,11 @@
|
||||
|
||||
/* SideMenuWidget */
|
||||
|
||||
.side-menu-widget-container {
|
||||
/* Hack: force hardware acceleration */
|
||||
transform: translateX(0px);
|
||||
}
|
||||
|
||||
.side-menu-widget-container[theme="dark"] {
|
||||
background: url(background-noise-toolbar.png), hsl(208,11%,27%);
|
||||
color: #fff;
|
||||
@ -432,6 +437,11 @@
|
||||
|
||||
/* VariablesView */
|
||||
|
||||
.variables-view-container:not([empty]) {
|
||||
/* Hack: force hardware acceleration */
|
||||
transform: translateX(1px);
|
||||
}
|
||||
|
||||
.variables-view-empty-notice {
|
||||
color: GrayText;
|
||||
padding: 2px;
|
||||
|
@ -269,6 +269,11 @@
|
||||
|
||||
/* SideMenuWidget */
|
||||
|
||||
.side-menu-widget-container {
|
||||
/* Hack: force hardware acceleration */
|
||||
transform: translateX(0px);
|
||||
}
|
||||
|
||||
.side-menu-widget-container[theme="dark"] {
|
||||
background: url(background-noise-toolbar.png), hsl(208,11%,27%);
|
||||
color: #fff;
|
||||
@ -426,6 +431,11 @@
|
||||
|
||||
/* VariablesView */
|
||||
|
||||
.variables-view-container:not([empty]) {
|
||||
/* Hack: force hardware acceleration */
|
||||
transform: translateX(1px);
|
||||
}
|
||||
|
||||
.variables-view-empty-notice {
|
||||
color: GrayText;
|
||||
padding: 2px;
|
||||
|
@ -273,6 +273,11 @@
|
||||
|
||||
/* SideMenuWidget */
|
||||
|
||||
.side-menu-widget-container {
|
||||
/* Hack: force hardware acceleration */
|
||||
transform: translateX(0px);
|
||||
}
|
||||
|
||||
.side-menu-widget-container[theme="dark"] {
|
||||
background: url(background-noise-toolbar.png), hsl(208,11%,27%);
|
||||
color: #fff;
|
||||
@ -429,6 +434,11 @@
|
||||
|
||||
/* VariablesView */
|
||||
|
||||
.variables-view-container:not([empty]) {
|
||||
/* Hack: force hardware acceleration */
|
||||
transform: translateX(1px);
|
||||
}
|
||||
|
||||
.variables-view-empty-notice {
|
||||
color: GrayText;
|
||||
padding: 2px;
|
||||
|
Loading…
Reference in New Issue
Block a user