screenshot utility
This commit is contained in:
@@ -104,15 +104,17 @@ Repeater {
|
||||
Layout.fillHeight: true
|
||||
Layout.preferredWidth: 30
|
||||
color: collapseArea.containsMouse ? "#15FFFFFF" : "transparent"
|
||||
radius: 4
|
||||
visible: groupColumn.isExpanded
|
||||
radius: groupColumn.isExpanded ? 4 : Layout.preferredHeight / 2
|
||||
visible: true
|
||||
|
||||
Text {
|
||||
anchors.centerIn: parent
|
||||
text: "\ue944"
|
||||
font.family: "Material Symbols Rounded"
|
||||
text: groupColumn.isExpanded ? "\ue944" : groupColumn.notifications.length
|
||||
font.family: groupColumn.isExpanded ? "Material Symbols Rounded" : "Rubik"
|
||||
font.pointSize: 18
|
||||
color: "white"
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
id: collapseArea
|
||||
anchors.fill: parent
|
||||
|
||||
@@ -127,6 +127,10 @@ Item {
|
||||
duration: MaterialEasing.expressiveEffectsTime
|
||||
easing.bezierCurve: MaterialEasing.expressiveEffects
|
||||
}
|
||||
onFinished: {
|
||||
if ( !mouseArea.containsMouse )
|
||||
closeAnim.start();
|
||||
}
|
||||
}
|
||||
|
||||
ParallelAnimation {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
pragma Singleton
|
||||
|
||||
import Caelestia
|
||||
import ZShell
|
||||
import Quickshell
|
||||
import Quickshell.Io
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import Quickshell
|
||||
import Quickshell.Widgets
|
||||
import QtQuick
|
||||
import Caelestia.Models
|
||||
import ZShell.Models
|
||||
|
||||
Item {
|
||||
id: root
|
||||
|
||||
Reference in New Issue
Block a user