separate liveEditingMode and inConfigureApplets

--try to improve experience for liveEditingMode and
inConfigureApplets. LiveEditingMode should be as much
as nearer to the standard experience and inConfigureApplets
state should provide nice coloring
pull/5/head
Michail Vourlakos 6 years ago
parent 7c59929b28
commit 71d3979f0c

@ -112,7 +112,8 @@ Loader{
readonly property color backgroundColor:applyTheme.backgroundColor
readonly property color textColor: {
if (latteView && latteView.managedLayout && root.inConfigureAppletsMode && (root.themeColors === Latte.Types.SmartThemeColors)) {
if (latteView && latteView.managedLayout && root.inConfigureAppletsMode && root.panelTransparency<40
&& (root.themeColors === Latte.Types.SmartThemeColors)) {
return latteView.managedLayout.textColor;
}

@ -106,7 +106,7 @@ DragDrop.DropArea {
property bool forceSolidPanel: (latteView && latteView.visibility
&& Latte.WindowSystem.compositingActive
&& !root.editMode
&& !inConfigureAppletsMode
&& userShowPanelBackground
&& ( (plasmoid.configuration.solidBackgroundForMaximized
&& !(hasExpandedApplet && !plasmaBackgroundForPopups)
@ -117,7 +117,7 @@ DragDrop.DropArea {
property bool forceTransparentPanel: root.backgroundOnlyOnMaximized
&& latteView && latteView.visibility
&& Latte.WindowSystem.compositingActive
&& !root.editMode
&& !inConfigureAppletsMode
&& !forceSolidPanel
&& !(windowColors === Latte.Types.TouchingWindowColors && latteView.windowsTracker.activeWindowTouching)
&& !(windowColors === Latte.Types.ActiveWindowColors && latteView.windowsTracker.existsWindowActive)
@ -230,7 +230,7 @@ DragDrop.DropArea {
return false;
}
if (root.editMode) {
if (inConfigureAppletsMode) {
return plasmoid.configuration.panelShadows;
}

Loading…
Cancel
Save