From f474c8a6fdbb18f53f4b65155facbe89f5c95ed8 Mon Sep 17 00:00:00 2001
From: Ariver <shanghai3168@gmail.com>
Date: Mon, 08 Jun 2026 23:59:09 +0800
Subject: [PATCH] Release 7.8.23 App Grid hover stability
---
src/Apptag/ContentView.swift | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
diff --git a/src/Apptag/ContentView.swift b/src/Apptag/ContentView.swift
index e2bf1c7..a6011b8 100644
--- a/src/Apptag/ContentView.swift
+++ b/src/Apptag/ContentView.swift
@@ -319,8 +319,6 @@
var bubbleDraftNote = ""
var tagNavigationHoveredGroupName: String? = nil
var tagNavigationAppDropTargetName: String? = nil
- var tagNavigationLastHoverScrollID: String? = nil
- var tagNavigationLastHoverScrollAt: Date? = nil
}
private struct EditActionFeedback: Identifiable {
@@ -432,8 +430,6 @@
?? (isColorlessContainerMode ? filledColorlessContainer : nil)
}
private let rightSidebarFloatingClearance: CGFloat = 44
- private let tagNavigationHoverScrollInterval: TimeInterval = 0.22
-
private var floatingButtonSurfaceColor: Color {
colorScheme == .dark
? Color.white.opacity(0.10)
@@ -2001,7 +1997,6 @@
appGridInteraction.tagNavigationHoveredGroupName = id
fillColorlessContainer(id)
- scrollToTagFromHover(id)
}
private func handleTagNavigationAppDropHover(_ id: String, active: Bool) {
@@ -2020,18 +2015,6 @@
}
appGridInteraction.tagNavigationAppDropTargetName = id
- }
-
- private func scrollToTagFromHover(_ id: String) {
- let now = Date()
- if appGridInteraction.tagNavigationLastHoverScrollID == id,
- let lastScrollAt = appGridInteraction.tagNavigationLastHoverScrollAt,
- now.timeIntervalSince(lastScrollAt) < tagNavigationHoverScrollInterval {
- return
- }
- appGridInteraction.tagNavigationLastHoverScrollID = id
- appGridInteraction.tagNavigationLastHoverScrollAt = now
- scrollTo(id)
}
private func fillColorlessContainer(_ id: String) {
--
Gitblit v1.9.3