2020-09-24 09:57:54 +10:00
|
|
|
// Copyright Mirage authors & contributors <https://github.com/mirukana/mirage>
|
2020-06-23 22:44:58 +10:00
|
|
|
// SPDX-License-Identifier: LGPL-3.0-or-later
|
|
|
|
|
|
|
|
import QtQuick 2.12
|
|
|
|
|
|
|
|
HRectangleBottomBorder {
|
|
|
|
id: line
|
|
|
|
|
|
|
|
property bool show: false
|
|
|
|
|
|
|
|
transform: Scale {
|
|
|
|
origin.x: line.width / 2
|
|
|
|
origin.y: line.height / 2
|
|
|
|
xScale: line.show ? 1 : 0
|
|
|
|
|
|
|
|
Behavior on xScale { HNumberAnimation {} }
|
|
|
|
}
|
|
|
|
|
|
|
|
Behavior on color { HColorAnimation {} }
|
|
|
|
}
|