fixes for applets thin tooltips

work/spdx
Michail Vourlakos 4 years ago
parent 6cd47840fb
commit 4fc85ba8c5

@ -874,7 +874,7 @@ Item {
active: isParabolicEnabled || isThinTooltipEnabled
readonly property bool isParabolicEnabled: appletItem.parabolic.isEnabled && !(lockZoom || isHidden)
readonly property bool isThinTooltipEnabled: appletItem.thinTooltip.isEnabled && !isHidden
readonly property bool isThinTooltipEnabled: appletItem.thinTooltip.isEnabled && !isHidden
sourceComponent: ParabolicArea{}

@ -40,13 +40,15 @@ Item {
anchors.fill: parent
enabled: visible
hoverEnabled: true
visible: appletItem.parabolicEffectIsSupported
&& !communicator.indexerIsSupported
&& appletItem.parabolic.currentParabolicItem !== _parabolicArea
visible: appletItem.parabolic.currentParabolicItem !== _parabolicArea
onEntered: {
appletItem.parabolic.setCurrentParabolicItem(_parabolicArea);
if (isThinTooltipEnabled && !(isSeparator || isSpacer)) {
appletItem.thinTooltip.show(appletItem.tooltipVisualParent, applet.title);
}
if (isParabolicEnabled) {
var vIndex = appletItem.indexer.visibleIndex(index);
appletItem.parabolic.setCurrentParabolicItemIndex(vIndex);

@ -797,10 +797,9 @@ PlasmaComponents.Page {
text: i18n("Thin title tooltips on hovering")
tooltip: i18n("Show narrow tooltips produced by Latte for items.\nThese tooltips are not drawn when applets zoom effect is disabled");
checked: plasmoid.configuration.titleTooltips
enabled: latteView.type === LatteCore.Types.DockView
onClicked: {
plasmoid.configuration.titleTooltips = !plasmoid.configuration.titleTooltips;
plasmoid.configuration.titleTooltips = checked;
}
}
@ -813,7 +812,7 @@ PlasmaComponents.Page {
visible: dialog.advancedLevel
onClicked: {
plasmoid.configuration.mouseWheelActions = !plasmoid.configuration.mouseWheelActions;
plasmoid.configuration.mouseWheelActions = checked;
}
}
@ -827,7 +826,7 @@ PlasmaComponents.Page {
enabled: latteView.type === LatteCore.Types.DockView
onClicked: {
plasmoid.configuration.autoSizeEnabled = !plasmoid.configuration.autoSizeEnabled
plasmoid.configuration.autoSizeEnabled = checked;
}
}

Loading…
Cancel
Save