diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-28 12:05:59 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-28 12:05:59 +1000 |
| commit | 65e09286705cc4db514f889bf8f6bf9b49fb9763 (patch) | |
| tree | 8742bbe85818d72d2ec90358ea5507de3f62cb31 /modules/bar | |
| parent | format: conform to qml coding conventions (diff) | |
| download | caelestia-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')
| -rw-r--r-- | modules/bar/ActiveWindow.qml | 3 |
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" |