mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-21 10:50:30 +03:00
port directRender code to new signaling
This commit is contained in:
parent
7482182e24
commit
c1bff5a1a9
@ -943,6 +943,10 @@ DragDrop.DropArea {
|
||||
return dock.containmentActions();
|
||||
}
|
||||
|
||||
function disableDirectRender(){
|
||||
root.globalDirectRender = false;
|
||||
}
|
||||
|
||||
function internalViewSplittersCount(){
|
||||
var splitters = 0;
|
||||
for (var container in startLayout.children) {
|
||||
|
@ -707,8 +707,12 @@ Item{
|
||||
if(!launchedAlready) {
|
||||
launchedAlready = true;
|
||||
root.signalAnimationsNeedThickness(1);
|
||||
root.globalDirectRender=false;
|
||||
icList.directRender=false;
|
||||
|
||||
if (root.latteDock)
|
||||
root.latteDock.disableDirectRender();
|
||||
else
|
||||
icList.directRender=false;
|
||||
|
||||
root.updateScale(index+1, 1, 0);
|
||||
root.updateScale(index-1, 1, 0);
|
||||
root.noTasksInAnimation++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user