mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-23 03:18:49 +03:00
19 lines
394 B
QML
19 lines
394 B
QML
// SPDX-FileCopyrightText: Nheko Contributors
|
|
//
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
import QtQuick 2.15
|
|
import im.nheko 1.0
|
|
|
|
Item {
|
|
id: wrapper
|
|
property color color
|
|
|
|
Loader {
|
|
Component {
|
|
id: ripple
|
|
RippleImpl { color: color; parent: wrapper.parent; }
|
|
}
|
|
sourceComponent: !Settings.reducedMotion ? ripple : undefined
|
|
}
|
|
}
|