provide live editing for !compositing

pull/18/head
Michail Vourlakos 5 years ago
parent 334a40fff1
commit 673882f966

@ -52,7 +52,7 @@
#define CANVASWINDOWINTERVAL 50
#define PRIMARYWINDOWINTERVAL 250
#define SECONDARYWINDOWINTERVAL 250
#define SECONDARYWINDOWINTERVAL 200
#define SLIDEOUTINTERVAL 400
namespace Latte {

@ -220,7 +220,7 @@ Item {
readonly property bool hasUserSpecifiedBackground: (latteView && latteView.layout && latteView.layout.background.startsWith("/")) ?
true : false
readonly property bool inConfigureAppletsMode: root.editMode && (plasmoid.configuration.inConfigureAppletsMode || !LatteCore.WindowSystem.compositingActive)
readonly property bool inConfigureAppletsMode: root.editMode && plasmoid.configuration.inConfigureAppletsMode
readonly property bool parabolicEffectEnabled: parabolic.factor.zoom>1 && !inConfigureAppletsMode
property bool dockIsShownCompletely: !(dockIsHidden || inSlidingIn || inSlidingOut)

@ -128,7 +128,7 @@ Item {
icon: SettingsControls.RearrangeIcon{}
onPressedChanged: {
if (LatteCore.WindowSystem.compositingActive && pressed) {
if (pressed) {
plasmoid.configuration.inConfigureAppletsMode = !plasmoid.configuration.inConfigureAppletsMode;
}
}

@ -185,7 +185,7 @@ PlasmaComponents.Page {
Layout.minimumWidth: dialog.optionsWidth
Layout.maximumWidth: Layout.minimumWidth
spacing: units.smallSpacing
enabled: plasmoid.configuration.animationsEnabled
enabled: LatteCore.WindowSystem.compositingActive && plasmoid.configuration.animationsEnabled
PlasmaComponents.Label {
text: i18n("Zoom On Hover")

Loading…
Cancel
Save