mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-04 04:42:05 -04:00
lock: add lock at startup action, not sure how to handle it in crash
scenarios launcher v2: fix state reset in section changes fixes #1648
This commit is contained in:
@@ -112,6 +112,11 @@ Item {
|
||||
function onViewModeVersionChanged() {
|
||||
Qt.callLater(root._rebuildVisualModel);
|
||||
}
|
||||
function onSearchModeChanged() {
|
||||
root._visualRows = [];
|
||||
root._cumulativeHeights = [];
|
||||
root._flatIndexToRowMap = {};
|
||||
}
|
||||
}
|
||||
|
||||
function resetScroll() {
|
||||
@@ -355,9 +360,6 @@ Item {
|
||||
readonly property int versionTrigger: root.controller?.viewModeVersion ?? 0
|
||||
|
||||
readonly property var stickyHeaderSection: {
|
||||
if (!root.controller?.sections || root.controller.sections.length === 0)
|
||||
return null;
|
||||
|
||||
var scrollY = mainListView.contentY - mainListView.originY;
|
||||
if (scrollY <= 0)
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user