summaryrefslogtreecommitdiff
path: root/modules/bar/ActiveWindow.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-28 12:05:59 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-28 12:05:59 +1000
commit65e09286705cc4db514f889bf8f6bf9b49fb9763 (patch)
tree8742bbe85818d72d2ec90358ea5507de3f62cb31 /modules/bar/ActiveWindow.qml
parentformat: conform to qml coding conventions (diff)
downloadcaelestia-shell-65e09286705cc4db514f889bf8f6bf9b49fb9763.tar.gz
caelestia-shell-65e09286705cc4db514f889bf8f6bf9b49fb9763.tar.bz2
caelestia-shell-65e09286705cc4db514f889bf8f6bf9b49fb9763.zip
refactor: no need for clippingbox
Just use clip property of Item
Diffstat (limited to 'modules/bar/ActiveWindow.qml')
-rw-r--r--modules/bar/ActiveWindow.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/bar/ActiveWindow.qml b/modules/bar/ActiveWindow.qml
index 5c75944..ced9714 100644
--- a/modules/bar/ActiveWindow.qml
+++ b/modules/bar/ActiveWindow.qml
@@ -5,12 +5,13 @@ import "root:/config"
import QtQuick
import QtQuick.Layouts
-ClippingBoxLayout {
+BoxLayout {
id: root
readonly property color colour: Appearance.colours.pink
animated: true
+ clip: true
MaterialIcon {
text: Icons.getAppCategoryIcon(Hyprland.activeClient?.class) ?? "desktop_windows"