1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-15 02:02:08 -04:00

greeter: block loading of memory file

This commit is contained in:
bbedward
2026-02-05 12:18:44 -05:00
parent 7d5c20125a
commit 4349d68f87
4 changed files with 7 additions and 10 deletions

View File

@@ -132,7 +132,7 @@ Item {
Timer { Timer {
id: closeTimer id: closeTimer
interval: animationDuration + 120 interval: animationDuration + 50
onTriggered: { onTriggered: {
if (shouldBeVisible) if (shouldBeVisible)
return; return;

View File

@@ -312,7 +312,7 @@ Item {
NumberAnimation { NumberAnimation {
duration: Theme.modalAnimationDuration duration: Theme.modalAnimationDuration
easing.type: Easing.BezierSpline easing.type: Easing.BezierSpline
easing.bezierCurve: contentVisible ? Theme.expressiveCurves.expressiveFastSpatial : Theme.expressiveCurves.emphasized easing.bezierCurve: contentVisible ? Theme.expressiveCurves.expressiveDefaultSpatial : Theme.expressiveCurves.emphasized
} }
} }
} }
@@ -348,7 +348,7 @@ Item {
NumberAnimation { NumberAnimation {
duration: Theme.modalAnimationDuration duration: Theme.modalAnimationDuration
easing.type: Easing.BezierSpline easing.type: Easing.BezierSpline
easing.bezierCurve: contentVisible ? Theme.expressiveCurves.expressiveFastSpatial : Theme.expressiveCurves.standardAccel easing.bezierCurve: contentVisible ? Theme.expressiveCurves.expressiveDefaultSpatial : Theme.expressiveCurves.emphasized
} }
} }
@@ -356,7 +356,7 @@ Item {
NumberAnimation { NumberAnimation {
duration: Theme.modalAnimationDuration duration: Theme.modalAnimationDuration
easing.type: Easing.BezierSpline easing.type: Easing.BezierSpline
easing.bezierCurve: contentVisible ? Theme.expressiveCurves.expressiveFastSpatial : Theme.expressiveCurves.standardAccel easing.bezierCurve: contentVisible ? Theme.expressiveCurves.expressiveDefaultSpatial : Theme.expressiveCurves.emphasized
} }
} }

View File

@@ -75,14 +75,11 @@ Singleton {
FileView { FileView {
id: memoryFileView id: memoryFileView
path: root.memoryFile path: root.memoryFile
blockLoading: false blockLoading: true
blockWrites: false blockWrites: false
atomicWrites: true atomicWrites: true
watchChanges: false watchChanges: false
printErrors: false printErrors: false
onLoaded: {
parseMemory(memoryFileView.text());
}
} }
FileView { FileView {

View File

@@ -322,7 +322,7 @@ Item {
text: I18n.tr("Custom Duration") text: I18n.tr("Custom Duration")
description: I18n.tr("%1 custom animation duration").arg(I18n.tr("Popouts")) description: I18n.tr("%1 custom animation duration").arg(I18n.tr("Popouts"))
minimum: 0 minimum: 0
maximum: 500 maximum: 2000
value: Theme.popoutAnimationDuration value: Theme.popoutAnimationDuration
unit: "ms" unit: "ms"
defaultValue: 150 defaultValue: 150
@@ -402,7 +402,7 @@ Item {
text: I18n.tr("Custom Duration") text: I18n.tr("Custom Duration")
description: I18n.tr("%1 custom animation duration").arg(I18n.tr("Modals")) description: I18n.tr("%1 custom animation duration").arg(I18n.tr("Modals"))
minimum: 0 minimum: 0
maximum: 500 maximum: 2000
value: Theme.modalAnimationDuration value: Theme.modalAnimationDuration
unit: "ms" unit: "ms"
defaultValue: 150 defaultValue: 150