mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
fix mouse interaction
This commit is contained in:
parent
9f15697a76
commit
ffc2c51b19
2 changed files with 1 additions and 10 deletions
|
|
@ -133,6 +133,7 @@ Window {
|
||||||
}
|
}
|
||||||
//FIXME: this empty mousearea is a workaround on https://bugreports.qt.io/browse/QTBUG-46545
|
//FIXME: this empty mousearea is a workaround on https://bugreports.qt.io/browse/QTBUG-46545
|
||||||
MouseArea {
|
MouseArea {
|
||||||
|
z: -1
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -109,15 +109,6 @@ PlasmaCore.ColorScope {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Component {
|
|
||||||
id: tabComponent
|
|
||||||
PlasmaComponents.TabButton {
|
|
||||||
width: parent.width / parent.children.length
|
|
||||||
height: units.iconSizes.huge
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
PlasmaCore.DataSource {
|
PlasmaCore.DataSource {
|
||||||
id: timeSource
|
id: timeSource
|
||||||
engine: "time"
|
engine: "time"
|
||||||
|
|
@ -238,7 +229,6 @@ PlasmaCore.ColorScope {
|
||||||
}
|
}
|
||||||
onVisibleChanged: {
|
onVisibleChanged: {
|
||||||
if (visible && !root.expandedApplet) {
|
if (visible && !root.expandedApplet) {
|
||||||
print("AAA"+appletIconsRow.children[0].applet)
|
|
||||||
var applet = appletIconsRow.children[0].applet;
|
var applet = appletIconsRow.children[0].applet;
|
||||||
applet.expanded = true;
|
applet.expanded = true;
|
||||||
appletsStack.replace(applet.fullRepresentationItem);
|
appletsStack.replace(applet.fullRepresentationItem);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue