send only screenEdgeMargin to applets/indicators

--screenEdgeMarginEnabled value is not really needed
to applets and indicators. Only the margin value
applied is of importance in order to place themselves
properly.
pull/11/head
Michail Vourlakos 5 years ago
parent 06fdd0d703
commit 1c7eec05e3

@ -80,14 +80,6 @@ Item{
// @since: 0.9
readonly property bool parabolicEffectEnabled: root.parabolicEffectEnabled && !appletItem.originalAppletBehavior
// NAME: screenMarginEnabled
// USAGE: read-only
// EXPLANATION: Screen Edge Margin is enabled or not for this Latte View
// USE CASE: it can be used from applets that want to be adjusted based
// on the screen margin applied without losing any of their functionality
// @since: 0.10
readonly property bool screenEdgeMarginEnabled: root.screenEdgeMarginEnabled
// NAME: iconSize
// USAGE: read-only
// EXPLANATION: The current icon size used in the Latte View

@ -70,7 +70,6 @@ Item{
readonly property bool progressVisible: false /*since 0.9.2*/
readonly property real progress: 0 /*since 0.9.2*/
readonly property bool screenEdgeMarginEnabled: root.screenEdgeMarginEnabled /*since 0.10*/
readonly property int screenEdgeMargin: root.localScreenEdgeMargin /*since 0.10*/
readonly property bool usePlasmaTabsStyle: !indicators.enabledForApplets

@ -276,7 +276,6 @@ Item {
}
}
readonly property bool screenEdgeMarginEnabled: latteBridge ? latteBridge.screenEdgeMarginEnabled : false
readonly property int screenEdgeMargin: latteBridge ? latteBridge.screenEdgeMargin : 0
//END Latte Dock Communicator

@ -73,7 +73,6 @@ Item {
readonly property bool progressVisible: wrapper.progressVisible /*since 0.9.2*/
readonly property real progress: wrapper.progress /*since 0.9.2*/
readonly property bool screenEdgeMarginEnabled: root.screenEdgeMarginEnabled /*since 0.10*/
readonly property int screenEdgeMargin: root.screenEdgeMargin /*since 0.10*/
readonly property bool usePlasmaTabsStyle: false

Loading…
Cancel
Save