summaryrefslogtreecommitdiff
path: root/modules/bar/components/ActiveWindow.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/bar/components/ActiveWindow.qml')
-rw-r--r--modules/bar/components/ActiveWindow.qml30
1 files changed, 0 insertions, 30 deletions
diff --git a/modules/bar/components/ActiveWindow.qml b/modules/bar/components/ActiveWindow.qml
index de4202d..de0f0ad 100644
--- a/modules/bar/components/ActiveWindow.qml
+++ b/modules/bar/components/ActiveWindow.qml
@@ -1,7 +1,6 @@
pragma ComponentBehavior: Bound
import qs.components
-import qs.components.controls
import qs.services
import qs.utils
import qs.config
@@ -17,35 +16,6 @@ Item {
implicitWidth: child.implicitWidth
implicitHeight: child.implicitHeight
- CustomMouseArea {
- anchors.top: parent.top
- anchors.bottom: child.top
- anchors.left: parent.left
- anchors.right: parent.right
-
- function onWheel(event: WheelEvent): void {
- if (event.angleDelta.y > 0)
- Audio.incrementVolume();
- else if (event.angleDelta.y < 0)
- Audio.decrementVolume();
- }
- }
-
- CustomMouseArea {
- anchors.top: child.bottom
- anchors.bottom: parent.bottom
- anchors.left: parent.left
- anchors.right: parent.right
-
- function onWheel(event: WheelEvent): void {
- const monitor = root.monitor;
- if (event.angleDelta.y > 0)
- monitor.setBrightness(monitor.brightness + 0.1);
- else if (event.angleDelta.y < 0)
- monitor.setBrightness(monitor.brightness - 0.1);
- }
- }
-
Item {
id: child