mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-21 21:22:11 -03:00
Adjust scroll threshold for Back to Top button visibility
This commit is contained in:
@@ -130,7 +130,7 @@ export function initBackToTop() {
|
||||
|
||||
// Show/hide button based on scroll position
|
||||
const toggleBackToTop = () => {
|
||||
const scrollThreshold = window.innerHeight * 1.5;
|
||||
const scrollThreshold = window.innerHeight * 0.75;
|
||||
if (window.scrollY > scrollThreshold) {
|
||||
button.classList.add('visible');
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user