File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -377,7 +377,10 @@ MouseArea {
377377 leftMargin: ((inPopup || tasks .vertical ) && taskList .columns > 1 ) ? LayoutManager .iconMargin : 0
378378 rightMargin: ((inPopup || tasks .vertical ) && taskList .columns > 1 ) ? LayoutManager .iconMargin : 0
379379 }
380-
380+ property int test: {
381+ console .log (task .state );
382+ return 0
383+ }
381384 imagePath: plasmoid .configuration .disableButtonSvg ? " " : " widgets/tasks"
382385 enabledBorders: plasmoid .configuration .useBorders ? 1 | 2 | 4 | 8 : 0
383386 property bool isHovered: task .highlighted && plasmoid .configuration .taskHoverEffect
@@ -863,10 +866,11 @@ MouseArea {
863866 PropertyChanges {
864867 target: frame
865868 basePrefix: " attention"
869+ visible: (plasmoid .configuration .buttonColorize && ! frame .isHovered ) || ! plasmoid .configuration .buttonColorize
866870 }
867871 PropertyChanges {
868872 target: colorOverride
869- visible: plasmoid .configuration .buttonColorize ? frame .isHovered ? true : false : false
873+ visible: ( plasmoid .configuration .buttonColorize && frame .isHovered )
870874 }
871875 },
872876 State {
You can’t perform that action at this time.
0 commit comments