Remove blur effect, causes too much trouble
This commit is contained in:
@@ -1,38 +0,0 @@
|
||||
import QtQuick 2.7
|
||||
import QtGraphicalEffects 1.0
|
||||
|
||||
Item {
|
||||
property bool isPageStackDescendant: true
|
||||
|
||||
default property alias children: rectangle.children
|
||||
property alias color: rectangle.color
|
||||
property alias gradient: rectangle.gradient
|
||||
property alias blurRadius: fastBlur.radius
|
||||
property alias border: rectangle.border
|
||||
property alias radius: rectangle.radius
|
||||
|
||||
ShaderEffectSource {
|
||||
id: effectSource
|
||||
sourceItem: mainUIBackground
|
||||
anchors.fill: parent
|
||||
sourceRect: Qt.rect(
|
||||
(isPageStackDescendant ? pageStack.x : 0) + parent.x,
|
||||
(isPageStackDescendant ? pageStack.y : 0) + parent.y,
|
||||
width,
|
||||
height
|
||||
)
|
||||
}
|
||||
|
||||
FastBlur {
|
||||
id: fastBlur
|
||||
anchors.fill: effectSource
|
||||
source: effectSource
|
||||
radius: rectangle.color == "#00000000" ? 0 : 8
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
id: rectangle
|
||||
anchors.fill: parent
|
||||
color: HStyle.sidePane.background
|
||||
}
|
||||
}
|
6
harmonyqml/components/Base/HRectangle.qml
Normal file
6
harmonyqml/components/Base/HRectangle.qml
Normal file
@@ -0,0 +1,6 @@
|
||||
import QtQuick 2.7
|
||||
|
||||
Rectangle {
|
||||
id: rectangle
|
||||
color: HStyle.sidePane.background
|
||||
}
|
@@ -1,6 +1,6 @@
|
||||
import QtQuick 2.7
|
||||
|
||||
HGlassRectangle {
|
||||
HRectangle {
|
||||
property real widthForHeight: 0.75
|
||||
property int baseHeight: 300
|
||||
property int startScalingUpAboveHeight: 1080
|
||||
|
@@ -57,6 +57,10 @@ QtObject {
|
||||
}
|
||||
|
||||
readonly property QtObject chat: QtObject {
|
||||
readonly property QtObject selectViewBar: QtObject {
|
||||
property color background: colors.background1
|
||||
}
|
||||
|
||||
readonly property QtObject roomHeader: QtObject {
|
||||
property color background: colors.background1
|
||||
}
|
||||
|
Reference in New Issue
Block a user