From be25a3b1452829aaafddb78cbbde5ed73c955657 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Tue, 14 May 2019 22:20:32 +0300 Subject: [PATCH] improve debug graphics mode visuals --- containment/package/contents/ui/main.qml | 2 +- plasmoid/package/contents/ui/task/TaskItem.qml | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/containment/package/contents/ui/main.qml b/containment/package/contents/ui/main.qml index da3127c01..b8488a103 100644 --- a/containment/package/contents/ui/main.qml +++ b/containment/package/contents/ui/main.qml @@ -1830,7 +1830,7 @@ DragDrop.DropArea { Rectangle{ anchors.fill: parent color: "yellow" - opacity: 0.30 + opacity: 0.06 } } } diff --git a/plasmoid/package/contents/ui/task/TaskItem.qml b/plasmoid/package/contents/ui/task/TaskItem.qml index 437b3b6fd..4547d4c07 100644 --- a/plasmoid/package/contents/ui/task/TaskItem.qml +++ b/plasmoid/package/contents/ui/task/TaskItem.qml @@ -225,6 +225,19 @@ MouseArea{ NumberAnimation { duration: root.durationTime*units.longDuration } } + Loader{ + anchors.fill: parent + active: latteView && latteView.debugMode + + sourceComponent: Rectangle{ + anchors.fill: parent + color: "transparent" + border.color: "blue" + border.width: 1 + } + } + + SubWindows{ id: subWindows