1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-08 06:25:37 -05:00
Files
DankMaterialShell/Common/Ref.qml
bbedward 4f63d5899b refactor: perf improvement stopping singletons with ref
Also switch to scale+opacity anims with custom curve
2025-07-23 16:54:19 -04:00

9 lines
181 B
QML

import Quickshell
import QtQuick
QtObject {
required property Singleton service
Component.onCompleted: service.refCount++
Component.onDestruction: service.refCount--
}