mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 740983. Remove unneeded invalidate from scrollbar layers. r=kats
We used to fade the scrollbars by reuploading textures rather than using a shader. Since the textures don't change anymore the invalidate is unneeded.
This commit is contained in:
parent
8882e64f22
commit
55780e3e28
@ -235,7 +235,6 @@ public class ScrollbarLayer extends TileLayer {
|
||||
beginTransaction(); // called on compositor thread
|
||||
try {
|
||||
mOpacity = Math.max(mOpacity - FADE_AMOUNT, 0.0f);
|
||||
invalidate();
|
||||
} finally {
|
||||
endTransaction();
|
||||
}
|
||||
@ -254,7 +253,6 @@ public class ScrollbarLayer extends TileLayer {
|
||||
beginTransaction(); // called on compositor thread
|
||||
try {
|
||||
mOpacity = 1.0f;
|
||||
invalidate();
|
||||
} finally {
|
||||
endTransaction();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user