mirror of
https://gitgud.io/wackyideas/aerothemeplasma.git
synced 2024-08-15 00:43:43 +00:00
Compare commits
No commits in common. "2647c7e2bf268c11fd1ebe9e050d29d44abcb4e3" and "08a349c664d85c6aa1e172e63b061a92690da85b" have entirely different histories.
2647c7e2bf
...
08a349c664
3 changed files with 11 additions and 5 deletions
|
@ -92,6 +92,7 @@ Item {
|
|||
dashWindow.visible = !dashWindow.visible;
|
||||
dashWindow.showingAllPrograms = false;
|
||||
Plasmoid.setActiveWin(dashWindow);
|
||||
console.log(floatingOrbPanel.buttonIcon.implicitHeight);
|
||||
dashWindow.m_searchField.focus = true;
|
||||
orb.raise();
|
||||
}
|
||||
|
@ -123,6 +124,10 @@ Item {
|
|||
root.Layout.minimumHeight = orb.height;
|
||||
root.Layout.maximumHeight = orb.height;
|
||||
}
|
||||
|
||||
// This has to be done, or else the orb won't be positioned correctly. ??????????
|
||||
/*orb.y += 5;
|
||||
orb.y -= 5; // ??????????????????????????????????????*/
|
||||
}
|
||||
|
||||
//kicker.status: PlasmaCore.Types.PassiveStatus
|
||||
|
|
|
@ -77,11 +77,13 @@ Item {
|
|||
id: mouseArea
|
||||
anchors.fill: parent
|
||||
hoverEnabled: true
|
||||
acceptedButtons: Qt.LeftButton// | Qt.RightButton
|
||||
//propagateComposedEvents: true
|
||||
acceptedButtons: Qt.LeftButton | Qt.RightButton
|
||||
propagateComposedEvents: true
|
||||
onPressed: mouse => {
|
||||
//if(mouse.button === Qt.LeftButton)
|
||||
if(mouse.button === Qt.LeftButton)
|
||||
root.showMenu();
|
||||
else
|
||||
mouse.accepted = false;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -102,7 +102,7 @@ PlasmaCore.Dialog {
|
|||
} else {
|
||||
requestActivate();
|
||||
searchField.forceActiveFocus();
|
||||
setFloatingAvatarPosition();
|
||||
if(!firstTimePopup) setFloatingAvatarPosition();
|
||||
}
|
||||
resetRecents(); // Resets the recents model to prevent errors and crashes.
|
||||
}
|
||||
|
@ -117,7 +117,6 @@ PlasmaCore.Dialog {
|
|||
var pos = popupPosition(width, height);
|
||||
x = pos.x;
|
||||
y = pos.y;
|
||||
setFloatingAvatarPosition();
|
||||
}
|
||||
|
||||
onSearchingChanged: {
|
||||
|
|
Loading…
Reference in a new issue