Redo to not delete a bunch of stuff
This commit is contained in:
51
Main.qml
51
Main.qml
@@ -133,6 +133,7 @@ Item {
|
||||
|
||||
initialItem: Login {
|
||||
id: userListComponent
|
||||
userList.opacity: 0
|
||||
userListModel: userModel
|
||||
loginScreenUiVisible: loginScreenRoot.uiVisible
|
||||
userListCurrentIndex: userModel.lastIndex >= 0 ? userModel.lastIndex : 0
|
||||
@@ -151,8 +152,6 @@ Item {
|
||||
return false
|
||||
}
|
||||
|
||||
userListComponent.userList.opacity = 0
|
||||
|
||||
return userListModel.count <= userListModel.disableAvatarsThreshold
|
||||
}
|
||||
|
||||
@@ -335,48 +334,6 @@ Item {
|
||||
}
|
||||
}
|
||||
|
||||
DropShadow {
|
||||
id: logoShadow
|
||||
anchors.fill: logo
|
||||
source: logo
|
||||
visible: !softwareRendering && config.showlogo === "shown"
|
||||
horizontalOffset: 1
|
||||
verticalOffset: 1
|
||||
radius: 6
|
||||
samples: 14
|
||||
spread: 0.3
|
||||
color : "black" // shadows should always be black
|
||||
opacity: loginScreenRoot.uiVisible ? 0 : 1
|
||||
Behavior on opacity {
|
||||
//OpacityAnimator when starting from 0 is buggy (it shows one frame with opacity 1)"
|
||||
NumberAnimation {
|
||||
duration: Kirigami.Units.longDuration
|
||||
easing.type: Easing.InOutQuad
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Image {
|
||||
id: logo
|
||||
visible: config.showlogo === "shown"
|
||||
source: config.logo
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.bottom: footer.top
|
||||
anchors.bottomMargin: Kirigami.Units.largeSpacing
|
||||
asynchronous: true
|
||||
sourceSize.height: height
|
||||
opacity: loginScreenRoot.uiVisible ? 0 : 1
|
||||
fillMode: Image.PreserveAspectFit
|
||||
height: Math.round(Kirigami.Units.gridUnit * 3.5)
|
||||
Behavior on opacity {
|
||||
// OpacityAnimator when starting from 0 is buggy (it shows one frame with opacity 1)"
|
||||
NumberAnimation {
|
||||
duration: Kirigami.Units.longDuration
|
||||
easing.type: Easing.InOutQuad
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Note: Containment masks stretch clickable area of their buttons to
|
||||
// the screen edges, essentially making them adhere to Fitts's law.
|
||||
// Due to virtual keyboard button having an icon, buttons may have
|
||||
@@ -399,10 +356,10 @@ Item {
|
||||
}
|
||||
}
|
||||
|
||||
PlasmaComponents3.ToolButton {
|
||||
/*PlasmaComponents3.ToolButton {
|
||||
id: virtualKeyboardButton
|
||||
|
||||
text: i18ndc("plasma-desktop-sddm-theme", "Button to show/hide virtual keyboard", "Virtual Keyboard")
|
||||
text: i18ndc("plasma-desktop-sddm-theme", "Button to show/hide virtual keyboard")
|
||||
icon.name: inputPanel.keyboardActive ? "input-keyboard-virtual-on" : "input-keyboard-virtual-off"
|
||||
onClicked: {
|
||||
// Otherwise the password field loses focus and virtual keyboard
|
||||
@@ -419,7 +376,7 @@ Item {
|
||||
anchors.leftMargin: -footer.anchors.margins
|
||||
anchors.bottomMargin: -footer.anchors.margins
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
KeyboardButton {
|
||||
id: keyboardButton
|
||||
|
||||
Reference in New Issue
Block a user