Remove many animations
This commit is contained in:
parent
2a1a96e762
commit
9088506f62
|
@ -38,8 +38,6 @@ Rectangle {
|
|||
theme.controls.avatar.background.opacity
|
||||
)
|
||||
|
||||
Behavior on color { HColorAnimation {} }
|
||||
|
||||
HLabel {
|
||||
z: 1
|
||||
anchors.centerIn: parent
|
||||
|
@ -54,8 +52,6 @@ Rectangle {
|
|||
theme.controls.avatar.letter.lightness,
|
||||
theme.controls.avatar.letter.opacity
|
||||
)
|
||||
|
||||
Behavior on color { HColorAnimation {} }
|
||||
}
|
||||
|
||||
HMxcImage {
|
||||
|
|
|
@ -12,9 +12,5 @@ HRectangleBottomBorder {
|
|||
origin.x: line.width / 2
|
||||
origin.y: line.height / 2
|
||||
xScale: line.show ? 1 : 0
|
||||
|
||||
Behavior on xScale { HNumberAnimation {} }
|
||||
}
|
||||
|
||||
Behavior on color { HColorAnimation {} }
|
||||
}
|
||||
|
|
|
@ -19,7 +19,4 @@ HColumnPage {
|
|||
to: 1
|
||||
overshoot: 2
|
||||
}
|
||||
|
||||
Behavior on implicitWidth { HNumberAnimation {} }
|
||||
Behavior on implicitHeight { HNumberAnimation {} }
|
||||
}
|
||||
|
|
|
@ -15,8 +15,6 @@ Rectangle {
|
|||
enabled ? 1 :
|
||||
theme.disabledElementsOpacity
|
||||
|
||||
Behavior on opacity { HNumberAnimation {} }
|
||||
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
radius: parent.radius
|
||||
|
@ -31,8 +29,6 @@ Rectangle {
|
|||
button.enabled && button.hovered ? buttonTheme.hoveredOverlay :
|
||||
|
||||
"transparent"
|
||||
|
||||
Behavior on color { HColorAnimation { factor: 0.5 } }
|
||||
}
|
||||
|
||||
HBottomFocusLine {
|
||||
|
|
|
@ -18,8 +18,6 @@ HRowLayout {
|
|||
opacity: button.loading ? theme.loadingElementsOpacity :
|
||||
enabled ? 1 : theme.disabledElementsOpacity
|
||||
|
||||
Behavior on opacity { HNumberAnimation {} }
|
||||
|
||||
Item {
|
||||
visible: Boolean(button.icon.name || button.loading)
|
||||
|
||||
|
@ -42,8 +40,6 @@ HRowLayout {
|
|||
svgName: button.icon.name
|
||||
|
||||
// cache: button.icon.cache // TODO: need Qt 5.13+
|
||||
|
||||
Behavior on opacity { HNumberAnimation {} }
|
||||
}
|
||||
|
||||
HLoader {
|
||||
|
@ -55,8 +51,6 @@ HRowLayout {
|
|||
|
||||
active: opacity > 0
|
||||
sourceComponent: HBusyIndicator {}
|
||||
|
||||
Behavior on opacity { HNumberAnimation {} }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -39,8 +39,6 @@ CheckBox {
|
|||
|
||||
theme.controls.checkBox.boxBorder
|
||||
|
||||
Behavior on border.color { HColorAnimation { factor: 0.5 } }
|
||||
|
||||
// FIXME: workaround for sizing bug in Security.qml ListView sections
|
||||
Component.onCompleted:
|
||||
implicitWidth = Qt.binding(() => theme.controls.checkBox.boxSize)
|
||||
|
@ -107,6 +105,4 @@ CheckBox {
|
|||
|
||||
// Break binding
|
||||
Component.onCompleted: previousDefaultChecked = previousDefaultChecked
|
||||
|
||||
Behavior on opacity { HNumberAnimation { factor: 2 } }
|
||||
}
|
||||
|
|
|
@ -26,8 +26,6 @@ Item {
|
|||
anchors.centerIn: parent
|
||||
text: progressNumber + "%"
|
||||
font.pixelSize: theme ? theme.fontSize.big : 22
|
||||
|
||||
Behavior on progressNumber { HNumberAnimation { factor: 2 } }
|
||||
}
|
||||
|
||||
Shape {
|
||||
|
@ -66,9 +64,6 @@ Item {
|
|||
radiusY: shape.height / 2 - progressCircle.strokeWidth
|
||||
startAngle: 270
|
||||
sweepAngle: progress * 360
|
||||
|
||||
Behavior on startAngle { HNumberAnimation {} }
|
||||
Behavior on sweepAngle { HNumberAnimation {} }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -106,8 +106,6 @@ Drawer {
|
|||
NumberAnimation { duration: 100 }
|
||||
}
|
||||
|
||||
Behavior on calculatedMinimumSize { HNumberAnimation { factor: 0.75 } }
|
||||
|
||||
Item {
|
||||
id: resizeArea
|
||||
x: vertical || drawer.edge === Qt.RightEdge ? 0 : drawer.width-width
|
||||
|
|
|
@ -31,7 +31,5 @@ Image {
|
|||
layer.effect: ColorOverlay {
|
||||
color: icon.colorize
|
||||
cached: icon.cache
|
||||
|
||||
Behavior on color { HColorAnimation {} }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -34,8 +34,6 @@ HColumnLayout {
|
|||
|
||||
Layout.preferredWidth: height
|
||||
Layout.preferredHeight: active ? label.height : 0
|
||||
|
||||
Behavior on Layout.preferredHeight { HNumberAnimation {} }
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -56,7 +54,5 @@ HColumnLayout {
|
|||
|
||||
Layout.maximumHeight: text ? implicitHeight : 0
|
||||
Layout.fillWidth: true
|
||||
|
||||
Behavior on Layout.maximumHeight { HNumberAnimation {} }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -119,32 +119,6 @@ ListView {
|
|||
// #handling-interrupted-animations
|
||||
populate: add
|
||||
|
||||
add: Transition {
|
||||
// ScriptAction { script: if (listView.debug) print("add") }
|
||||
HNumberAnimation { property: "opacity"; from: 0; to: 1 }
|
||||
HNumberAnimation { property: "scale"; from: 0; to: 1 }
|
||||
}
|
||||
|
||||
move: Transition {
|
||||
// ScriptAction { script: if (listView.debug) print("move") }
|
||||
HNumberAnimation { property: "opacity"; to: 1 }
|
||||
HNumberAnimation { property: "scale"; to: 1 }
|
||||
HNumberAnimation { properties: "x,y" }
|
||||
}
|
||||
|
||||
remove: Transition {
|
||||
// ScriptAction { script: if (listView.debug) print("remove") }
|
||||
HNumberAnimation { property: "opacity"; to: 0 }
|
||||
HNumberAnimation { property: "scale"; to: 0 }
|
||||
}
|
||||
|
||||
displaced: Transition {
|
||||
// ScriptAction { script: if (listView.debug) print("displaced") }
|
||||
HNumberAnimation { property: "opacity"; to: 1 }
|
||||
HNumberAnimation { property: "scale"; to: 1 }
|
||||
HNumberAnimation { properties: "x,y" }
|
||||
}
|
||||
|
||||
onSelectedCountChanged: if (! selectedCount) lastCheckedDelegateIndex = 0
|
||||
onModelChanged: {
|
||||
currentIndex = defaultCurrentIndex
|
||||
|
|
|
@ -37,8 +37,6 @@ MenuItem {
|
|||
visible: menuItem.checkable
|
||||
opacity: menuItem.checked ? 1 : 0
|
||||
svgName: "menu-item-check-mark"
|
||||
|
||||
Behavior on opacity { HNumberAnimation {} }
|
||||
}
|
||||
|
||||
HIcon {
|
||||
|
|
|
@ -25,6 +25,4 @@ Page {
|
|||
Keys.onReturnPressed: keyboardAccept()
|
||||
Keys.onEnterPressed: keyboardAccept()
|
||||
Keys.onEscapePressed: keyboardCancel()
|
||||
|
||||
Behavior on padding { HNumberAnimation {} }
|
||||
}
|
||||
|
|
|
@ -27,8 +27,6 @@ ProgressBar {
|
|||
height: parent.height
|
||||
color: foregroundColor
|
||||
|
||||
Behavior on color { HColorAnimation {} }
|
||||
|
||||
HNumberAnimation on x {
|
||||
running: bar.visible && bar.indeterminate
|
||||
duration: 800
|
||||
|
|
|
@ -37,8 +37,6 @@ RadioButton {
|
|||
|
||||
theme.controls.checkBox.boxBorder
|
||||
|
||||
Behavior on border.color { HColorAnimation { factor: 0.5 } }
|
||||
|
||||
Rectangle {
|
||||
anchors.centerIn: parent
|
||||
width: parent.width * 0.5 // XXX theme
|
||||
|
@ -88,6 +86,4 @@ RadioButton {
|
|||
Layout.fillWidth: true
|
||||
}
|
||||
}
|
||||
|
||||
Behavior on opacity { HNumberAnimation { factor: 2 } }
|
||||
}
|
||||
|
|
|
@ -31,17 +31,12 @@ ScrollBar {
|
|||
sliderHover.hovered ? theme.controls.scrollBar.hoveredSlider :
|
||||
theme.controls.scrollBar.slider
|
||||
|
||||
Behavior on color { HColorAnimation {} }
|
||||
|
||||
HoverHandler { id: sliderHover }
|
||||
}
|
||||
}
|
||||
|
||||
// onFlickableMovingChanged: if (flickableMoving) activeOverride.when = false
|
||||
|
||||
// Behavior on opacity { HNumberAnimation { factor: 2 } }
|
||||
Behavior on opacity { HNumberAnimation {} }
|
||||
|
||||
// Binding on active {
|
||||
// id: activeOverride
|
||||
// value: initialVisibilityTimer.running
|
||||
|
|
|
@ -55,9 +55,6 @@ Slider {
|
|||
border.color: slider.pressed ?
|
||||
theme.controls.slider.handle.pressedBorder :
|
||||
theme.controls.slider.handle.border
|
||||
|
||||
Behavior on color { HColorAnimation {} }
|
||||
Behavior on border.color { HColorAnimation {} }
|
||||
}
|
||||
|
||||
HToolTip {
|
||||
|
|
|
@ -30,8 +30,6 @@ SpinBox {
|
|||
opacity: box.value > box.from ? 1 : theme.disabledElementsOpacity
|
||||
onPressed: if (box.value > box.from) box.decrease()
|
||||
Layout.fillHeight: true
|
||||
|
||||
Behavior on opacity { HNumberAnimation {} }
|
||||
}
|
||||
|
||||
HTextField {
|
||||
|
@ -62,8 +60,6 @@ SpinBox {
|
|||
opacity: box.value < box.to ? 1 : theme.disabledElementsOpacity
|
||||
onPressed: if (box.value < box.to) box.increase()
|
||||
Layout.fillHeight: true
|
||||
|
||||
Behavior on opacity { HNumberAnimation {} }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -22,8 +22,6 @@ HPage {
|
|||
id: backButton
|
||||
visible: Layout.preferredWidth > 0
|
||||
Layout.preferredWidth: showBackButton ? implicitWidth : 0
|
||||
|
||||
Behavior on Layout.preferredWidth { HNumberAnimation {} }
|
||||
}
|
||||
|
||||
HLoader {
|
||||
|
@ -48,9 +46,6 @@ HPage {
|
|||
overshoot: 2
|
||||
}
|
||||
|
||||
Behavior on implicitWidth { HNumberAnimation {} }
|
||||
Behavior on implicitHeight { HNumberAnimation {} }
|
||||
|
||||
Binding {
|
||||
target: tabBarLoader.item
|
||||
property: "currentIndex"
|
||||
|
|
|
@ -160,10 +160,6 @@ TextArea {
|
|||
when: disabledText !== null && ! textArea.enabled
|
||||
}
|
||||
|
||||
Behavior on opacity { HNumberAnimation {} }
|
||||
Behavior on color { HColorAnimation {} }
|
||||
Behavior on placeholderTextColor { HColorAnimation {} }
|
||||
|
||||
HLabel {
|
||||
id: disabledTextLabel
|
||||
anchors.fill: parent
|
||||
|
@ -184,8 +180,6 @@ TextArea {
|
|||
|
||||
font.family: parent.font.family
|
||||
font.pixelSize: parent.font.pixelSize
|
||||
|
||||
Behavior on opacity { HNumberAnimation {} }
|
||||
}
|
||||
|
||||
HTextContextMenu {
|
||||
|
|
|
@ -131,10 +131,6 @@ TextField {
|
|||
when: disabledText !== null && ! field.enabled
|
||||
}
|
||||
|
||||
Behavior on opacity { HNumberAnimation {} }
|
||||
Behavior on color { HColorAnimation {} }
|
||||
Behavior on placeholderTextColor { HColorAnimation {} }
|
||||
|
||||
HLabel {
|
||||
id: disabledTextLabel
|
||||
anchors.fill: parent
|
||||
|
@ -155,8 +151,6 @@ TextField {
|
|||
|
||||
font.family: parent.font.family
|
||||
font.pixelSize: parent.font.pixelSize
|
||||
|
||||
Behavior on opacity { HNumberAnimation {} }
|
||||
}
|
||||
|
||||
HTextContextMenu { id: contextMenu }
|
||||
|
|
|
@ -46,9 +46,6 @@ HButton {
|
|||
Keys.onSpacePressed: leftClicked()
|
||||
Keys.onMenuPressed: doRightClick(false)
|
||||
|
||||
Behavior on topPadding { HNumberAnimation {} }
|
||||
Behavior on bottomPadding { HNumberAnimation {} }
|
||||
|
||||
TapHandler {
|
||||
acceptedButtons: Qt.LeftButton
|
||||
onTapped: leftClicked()
|
||||
|
|
|
@ -19,8 +19,6 @@ HLabel {
|
|||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
|
||||
Behavior on Layout.maximumHeight { HNumberAnimation {} }
|
||||
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
acceptedButtons: Qt.NoButton
|
||||
|
|
|
@ -19,6 +19,4 @@ HLabel {
|
|||
Layout.maximumWidth:
|
||||
text && tile.width >= hideUnderWidth * theme.uiScale ?
|
||||
implicitWidth : 0
|
||||
|
||||
Behavior on Layout.maximumWidth { HNumberAnimation {} }
|
||||
}
|
||||
|
|
|
@ -27,8 +27,6 @@ HAvatar {
|
|||
anchors.leftMargin: anchors.topMargin
|
||||
z: 100
|
||||
|
||||
Behavior on anchors.topMargin { HNumberAnimation {} }
|
||||
|
||||
sourceComponent: HIcon {
|
||||
small: true
|
||||
svgName:
|
||||
|
|
|
@ -42,8 +42,6 @@ HColumnLayout {
|
|||
osd.showup ?
|
||||
1 : 0
|
||||
origin.y: osd.height
|
||||
|
||||
Behavior on yScale { HNumberAnimation {} }
|
||||
}
|
||||
|
||||
onShowupChanged: if (showup) osdHideTimer.restart()
|
||||
|
@ -190,8 +188,6 @@ HColumnLayout {
|
|||
(hovered || pressed || volumeButton.hovered) ?
|
||||
theme.mediaPlayer.controls.volumeSliderWidth : 0
|
||||
Layout.fillHeight: true
|
||||
|
||||
Behavior on Layout.preferredWidth { HNumberAnimation {} }
|
||||
}
|
||||
|
||||
OSDButton {
|
||||
|
@ -217,8 +213,6 @@ HColumnLayout {
|
|||
(hovered || pressed || speedButton.hovered) ?
|
||||
theme.mediaPlayer.controls.speedSliderWidth : 0
|
||||
Layout.fillHeight: true
|
||||
|
||||
Behavior on Layout.preferredWidth { HNumberAnimation {} }
|
||||
}
|
||||
|
||||
OSDLabel {
|
||||
|
|
|
@ -27,9 +27,6 @@ Rectangle {
|
|||
border.color: theme.controls.presence.border
|
||||
border.width: theme.controls.presence.borderWidth
|
||||
|
||||
Behavior on color { HColorAnimation {} }
|
||||
Behavior on opacity { HNumberAnimation {} }
|
||||
|
||||
HoverHandler { id: presenceHover }
|
||||
|
||||
HToolTip {
|
||||
|
|
|
@ -18,8 +18,6 @@ Rectangle {
|
|||
accountList.topMargin + accountList.bottomMargin :
|
||||
0
|
||||
|
||||
Behavior on implicitHeight { HNumberAnimation {} }
|
||||
|
||||
HGridView {
|
||||
id: accountList
|
||||
anchors.centerIn: parent
|
||||
|
|
|
@ -53,8 +53,6 @@ HTile {
|
|||
theme.mainPane.listView.offlineOpacity :
|
||||
1
|
||||
|
||||
Behavior on opacity { HNumberAnimation {} }
|
||||
|
||||
HUserAvatar {
|
||||
id: avatar
|
||||
clientUserId: model.id
|
||||
|
@ -83,8 +81,6 @@ HTile {
|
|||
height: width
|
||||
}
|
||||
}
|
||||
|
||||
Behavior on opacity { HNumberAnimation {} }
|
||||
}
|
||||
|
||||
MessageIndicator {
|
||||
|
@ -114,8 +110,6 @@ HTile {
|
|||
) :
|
||||
theme.mainPane.listView.account.name
|
||||
|
||||
Behavior on color { HColorAnimation {} }
|
||||
|
||||
Layout.leftMargin: theme.spacing
|
||||
}
|
||||
|
||||
|
@ -194,10 +188,8 @@ HTile {
|
|||
origin.y: expand.iconItem.height / 2
|
||||
angle: expand.loading ? 0 : collapsed ? 180 : 90
|
||||
|
||||
Behavior on angle { HNumberAnimation {} }
|
||||
}
|
||||
|
||||
Behavior on Layout.maximumWidth { HNumberAnimation {} }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -67,8 +67,6 @@ Rectangle {
|
|||
if (window.settings.RoomList.escape_clears_filter) text = ""
|
||||
}
|
||||
|
||||
Behavior on opacity { HNumberAnimation {} }
|
||||
|
||||
HShortcut {
|
||||
sequences: window.settings.Keys.Rooms.clear_filter
|
||||
onActivated: filterField.text = ""
|
||||
|
|
|
@ -28,8 +28,6 @@ HDrawer {
|
|||
minimumSize:
|
||||
window.settings.RoomList.min_width * window.settings.General.zoom
|
||||
|
||||
Behavior on opacity { HNumberAnimation {} }
|
||||
|
||||
Binding on visible {
|
||||
value: false
|
||||
when: ! mainUI.accountsPresent
|
||||
|
|
|
@ -59,11 +59,6 @@ HLabel {
|
|||
indicatorTheme.highlightBorder :
|
||||
indicatorTheme.border
|
||||
|
||||
Behavior on radius { HColorAnimation {} }
|
||||
Behavior on color { HColorAnimation {} }
|
||||
Behavior on border.color { HColorAnimation {} }
|
||||
}
|
||||
|
||||
Behavior on scale { HNumberAnimation {} }
|
||||
Behavior on color { HColorAnimation {} }
|
||||
}
|
||||
|
|
|
@ -43,8 +43,6 @@ HTile {
|
|||
theme.mainPane.listView.room.leftRoomOpacity :
|
||||
1
|
||||
|
||||
Behavior on opacity { HNumberAnimation {} }
|
||||
|
||||
HRoomAvatar {
|
||||
id: avatar
|
||||
clientUserId: model.for_account
|
||||
|
@ -53,8 +51,6 @@ HTile {
|
|||
mxc: model.avatar_url
|
||||
compact: room.compact
|
||||
radius: theme.mainPane.listView.room.avatarRadius
|
||||
|
||||
Behavior on radius { HNumberAnimation {} }
|
||||
}
|
||||
|
||||
HColumnLayout {
|
||||
|
@ -144,8 +140,6 @@ HTile {
|
|||
visible: invited
|
||||
|
||||
Layout.maximumWidth: invited ? implicitWidth : 0
|
||||
|
||||
Behavior on Layout.maximumWidth { HNumberAnimation {} }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -154,8 +154,6 @@ Rectangle {
|
|||
|
||||
Layout.preferredWidth: mainPane.collapse ? implicitWidth : 0
|
||||
Layout.fillHeight: true
|
||||
|
||||
Behavior on Layout.preferredWidth { HNumberAnimation {} }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,8 +17,6 @@ HLoader {
|
|||
property int historyLength: 20
|
||||
property int historyPosition: 0
|
||||
|
||||
readonly property alias appearAnimation: appearAnimation
|
||||
|
||||
signal aboutToRecycle()
|
||||
signal recycled()
|
||||
signal previousShown(string componentUrl, var properties)
|
||||
|
@ -98,10 +96,10 @@ HLoader {
|
|||
if (mainPane.collapse) mainPane.close()
|
||||
}
|
||||
|
||||
clip: appearAnimation.running
|
||||
clip: false
|
||||
|
||||
onLoaded: { takeFocus(); appearAnimation.restart() }
|
||||
onRecycled: { takeFocus(); appearAnimation.restart() }
|
||||
onLoaded: { takeFocus(); }
|
||||
onRecycled: { takeFocus(); }
|
||||
|
||||
Component.onCompleted: {
|
||||
if (! py.startupAnyAccountsSaved) {
|
||||
|
@ -112,16 +110,6 @@ HLoader {
|
|||
pageLoader.show(window.uiState.page, window.uiState.pageProperties)
|
||||
}
|
||||
|
||||
HNumberAnimation {
|
||||
id: appearAnimation
|
||||
target: pageLoader.item
|
||||
property: "x"
|
||||
from: -pageLoader.width
|
||||
to: 0
|
||||
easing.type: Easing.OutCirc
|
||||
factor: 2
|
||||
}
|
||||
|
||||
HShortcut {
|
||||
sequences: window.settings.Keys.last_page
|
||||
onActivated: showPrevious()
|
||||
|
|
|
@ -45,8 +45,6 @@ HTile {
|
|||
root.colorName ?
|
||||
utils.nameColor(model.display_name || model.id.substring(1)) :
|
||||
theme.chat.userAutoCompletion.displayNames
|
||||
|
||||
Behavior on color { HColorAnimation {} }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -133,9 +133,6 @@ HListView {
|
|||
replacementEnd = textArea.cursorPosition
|
||||
}
|
||||
|
||||
Behavior on opacity { HNumberAnimation {} }
|
||||
Behavior on implicitHeight { HNumberAnimation {} }
|
||||
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
z: -1
|
||||
|
|
|
@ -98,8 +98,6 @@ Item {
|
|||
|
||||
source: ready ? "ChatPage.qml" : ""
|
||||
|
||||
Behavior on anchors.rightMargin { HNumberAnimation {} }
|
||||
|
||||
HLoader {
|
||||
anchors.centerIn: parent
|
||||
width: 96 * theme.uiScale
|
||||
|
@ -108,8 +106,6 @@ Item {
|
|||
source: "../../Base/HBusyIndicator.qml"
|
||||
active: ready ? 0 : longLoading ? 1 : 0
|
||||
opacity: active ? 1 : 0
|
||||
|
||||
Behavior on opacity { HNumberAnimation { factor: 2 } }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -102,8 +102,6 @@ HColumnPage {
|
|||
Layout.minimumHeight: implicitHeight
|
||||
Layout.preferredHeight: implicitHeight * transferCount
|
||||
Layout.maximumHeight: chatPage.height / 6
|
||||
|
||||
Behavior on Layout.preferredHeight { HNumberAnimation {} }
|
||||
}
|
||||
|
||||
UserAutoCompletion {
|
||||
|
|
|
@ -125,8 +125,6 @@ Rectangle {
|
|||
|
||||
Layout.fillWidth: false
|
||||
Layout.fillHeight: true
|
||||
|
||||
Behavior on implicitWidth { HNumberAnimation {} }
|
||||
}
|
||||
|
||||
CancelButton {
|
||||
|
|
|
@ -30,8 +30,6 @@ HColumnLayout {
|
|||
)
|
||||
}
|
||||
|
||||
Behavior on height { HNumberAnimation {} }
|
||||
|
||||
DelegateTransitionFixer {}
|
||||
|
||||
HRowLayout {
|
||||
|
|
|
@ -19,8 +19,6 @@ Rectangle {
|
|||
opacity: implicitHeight ? 1 : 0
|
||||
clip: true
|
||||
|
||||
Behavior on implicitHeight { HNumberAnimation {} }
|
||||
|
||||
HListView {
|
||||
id: transferList
|
||||
anchors.fill: parent
|
||||
|
|
|
@ -14,8 +14,6 @@ Rectangle {
|
|||
implicitHeight: label.text ? rowLayout.height : 0
|
||||
opacity: implicitHeight ? 1 : 0
|
||||
|
||||
Behavior on implicitHeight { HNumberAnimation {} }
|
||||
|
||||
HRowLayout {
|
||||
id: rowLayout
|
||||
width: parent.width
|
||||
|
|
|
@ -12,6 +12,4 @@ HButton {
|
|||
|
||||
Layout.preferredWidth: show ? implicitWidth : 0
|
||||
Layout.fillHeight: true
|
||||
|
||||
Behavior on Layout.preferredWidth { HNumberAnimation {} }
|
||||
}
|
||||
|
|
|
@ -55,8 +55,6 @@ HTile {
|
|||
(model.display_name || model.id.substring(1))
|
||||
) :
|
||||
theme.chat.roomPane.listView.member.name
|
||||
|
||||
Behavior on color { HColorAnimation {} }
|
||||
}
|
||||
|
||||
TitleRightInfoLabel {
|
||||
|
@ -197,9 +195,6 @@ HTile {
|
|||
Component.onDestruction:
|
||||
if (getPresenceFutureId) py.cancelCoro(getPresenceFutureId)
|
||||
|
||||
Behavior on contentOpacity { HNumberAnimation {} }
|
||||
Behavior on spacing { HNumberAnimation {} }
|
||||
|
||||
Binding on spacing {
|
||||
value: (roomPane.minimumSize - avatar.width) / 2
|
||||
when: avatar && roomPane.width < avatar.width + theme.spacing * 2
|
||||
|
|
|
@ -237,8 +237,6 @@ HListView {
|
|||
Layout.preferredHeight: implicitHeight * scale
|
||||
Layout.topMargin: -theme.spacing
|
||||
|
||||
Behavior on scale { HNumberAnimation {} }
|
||||
|
||||
HSpacer {}
|
||||
|
||||
ApplyButton {
|
||||
|
|
|
@ -141,8 +141,6 @@ HColumnLayout {
|
|||
if (window.settings.RoomList.escape_clears_filter)
|
||||
text = ""
|
||||
}
|
||||
|
||||
Behavior on opacity { HNumberAnimation {} }
|
||||
}
|
||||
|
||||
HColumnLayout {
|
||||
|
@ -192,8 +190,6 @@ HColumnLayout {
|
|||
filterField.width < 32 * theme.uiScale ?
|
||||
filterField.implicitHeight :
|
||||
0
|
||||
|
||||
Behavior on Layout.preferredHeight { HNumberAnimation {} }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -313,8 +313,6 @@ HRowLayout {
|
|||
|
||||
theme.chat.message.background
|
||||
|
||||
Behavior on color { HColorAnimation {} }
|
||||
|
||||
Rectangle {
|
||||
visible: model.event_type === "RoomMessageNotice"
|
||||
// y: parent.height / 2 - height / 2
|
||||
|
|
|
@ -63,6 +63,4 @@ HTile {
|
|||
value: theme.chat.message.checkedBackground
|
||||
when: eventDelegate.checked
|
||||
}
|
||||
|
||||
Behavior on backgroundColor { HColorAnimation {} }
|
||||
}
|
||||
|
|
|
@ -133,8 +133,6 @@ HMxcImage {
|
|||
textFormat: Text.StyledText
|
||||
opacity: hover.hovered || eventDelegate.isFocused ? 0 : 1
|
||||
visible: opacity > 0
|
||||
|
||||
Behavior on opacity { HNumberAnimation {} }
|
||||
}
|
||||
|
||||
EventImageTextBubble {
|
||||
|
@ -145,8 +143,6 @@ HMxcImage {
|
|||
textFormat: Text.RichText
|
||||
opacity: hover.hovered || eventDelegate.isFocused ? 0 : 1
|
||||
visible: opacity > 0
|
||||
|
||||
Behavior on opacity { HNumberAnimation {} }
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
|
@ -157,7 +153,5 @@ HMxcImage {
|
|||
eventDelegate.checked ?
|
||||
theme.chat.message.thumbnailCheckedOverlayOpacity :
|
||||
0
|
||||
|
||||
Behavior on opacity { HNumberAnimation {} }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -522,8 +522,6 @@ Rectangle {
|
|||
opacity: eventList.loadPastEventsFutureId ? 1 : 0
|
||||
visible: opacity > 0
|
||||
|
||||
Behavior on opacity { HNumberAnimation {} }
|
||||
|
||||
HButton {
|
||||
readonly property bool offline:
|
||||
chat.userInfo.presence === "offline"
|
||||
|
|
|
@ -141,8 +141,6 @@ HPopup {
|
|||
|
||||
maxTitleWidth: y <= 0 ? -1 : buttons.x - buttons.width / 2
|
||||
|
||||
Behavior on y { HNumberAnimation {} }
|
||||
|
||||
HoverHandler { id: infoHover }
|
||||
}
|
||||
|
||||
|
@ -153,8 +151,6 @@ HPopup {
|
|||
y: parent.height - (popup.autoHide ? 0 : height)
|
||||
viewer: popup
|
||||
|
||||
Behavior on y { HNumberAnimation {} }
|
||||
|
||||
HoverHandler { id: buttonsHover }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -165,8 +165,6 @@ HFlickable {
|
|||
cryptDict: viewer.fullCryptDict
|
||||
// Image never loads at 0 opacity or with visible: false
|
||||
opacity: status === HMxcImage.Ready ? 1 : 0.01
|
||||
|
||||
Behavior on opacity { HNumberAnimation {} }
|
||||
}
|
||||
|
||||
Item {
|
||||
|
|
|
@ -18,8 +18,6 @@ Rectangle {
|
|||
implicitHeight: Math.max(theme.baseElementsHeight, childrenRect.height)
|
||||
color: utils.hsluv(0, 0, 0, 0.8)
|
||||
|
||||
Behavior on implicitHeight { HNumberAnimation {} }
|
||||
|
||||
AutoDirectionLayout {
|
||||
id: layout
|
||||
width: parent.width - theme.spacing * 2
|
||||
|
@ -90,8 +88,6 @@ Rectangle {
|
|||
Layout.alignment: Qt.AlignCenter
|
||||
Layout.preferredWidth: active ? height : 0
|
||||
Layout.preferredHeight: theme.baseElementsHeight - theme.spacing
|
||||
|
||||
Behavior on Layout.preferredWidth { HNumberAnimation {} }
|
||||
}
|
||||
|
||||
Item {
|
||||
|
|
|
@ -9,6 +9,4 @@ HLabel {
|
|||
opacity: enabled ? 1 : theme.disabledElementsOpacity
|
||||
wrapMode: HLabel.Wrap
|
||||
Layout.fillWidth: true
|
||||
|
||||
Behavior on opacity { HNumberAnimation {} }
|
||||
}
|
||||
|
|
|
@ -97,8 +97,6 @@ HColumnLayout {
|
|||
color: theme.colors.dimText
|
||||
visible: Layout.preferredHeight > 0
|
||||
Layout.preferredHeight: conditionRepeater.count ? 0 : implicitHeight
|
||||
|
||||
Behavior on Layout.preferredHeight { HNumberAnimation {} }
|
||||
}
|
||||
|
||||
Repeater {
|
||||
|
|
|
@ -180,8 +180,6 @@ HFlickableColumnPopup {
|
|||
|
||||
Layout.fillWidth: true
|
||||
|
||||
Behavior on implicitHeight { HNumberAnimation {} }
|
||||
|
||||
GeneralRule { enabled: SwipeView.isCurrentItem }
|
||||
ContentRule { enabled: SwipeView.isCurrentItem }
|
||||
RoomRule { enabled: SwipeView.isCurrentItem }
|
||||
|
|
|
@ -126,8 +126,6 @@ ApplicationWindow {
|
|||
ArgumentParser.ready && py.ready ?
|
||||
(ArgumentParser.loadQml || "UI.qml") :
|
||||
""
|
||||
|
||||
Behavior on scale { HNumberAnimation { overshoot: 3; factor: 1.2 } }
|
||||
}
|
||||
|
||||
TrayIcon {
|
||||
|
|
Loading…
Reference in New Issue
Block a user