mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-04 02:34:45 +00:00
don't reset homescreen scroll position
This commit is contained in:
parent
7d8e4e0d8c
commit
89935a1d21
1 changed files with 0 additions and 6 deletions
|
|
@ -41,12 +41,6 @@ MouseEventListener {
|
||||||
LayoutManager.save();
|
LayoutManager.save();
|
||||||
}
|
}
|
||||||
|
|
||||||
Plasmoid.onFocusChanged: {
|
|
||||||
if (!plasmoid.focus && applicationsView.contentY > -(applicationsView.headerItem.height - root.height/2)) {
|
|
||||||
applicationsView.contentY = -root.height;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function addApplet(applet, x, y) {
|
function addApplet(applet, x, y) {
|
||||||
var container = appletContainerComponent.createObject(appletsSpace.layout)
|
var container = appletContainerComponent.createObject(appletsSpace.layout)
|
||||||
container.visible = true
|
container.visible = true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue