Skip to content

DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.

451 B
Raw Blame
var ScrollFollow = class ScrollFollow {
			static owners = /* @__PURE__ */ new WeakMap();
			constructor() {
				this.following = false;
				this.target = null;
			}
			bind(element) {
				ScrollFollow.owners.set(element, this);
				return () => {
					if (ScrollFollow.owners.get(element) === this) ScrollFollow.owners.delete(element);
				};
			}
			setFollowing(active) {
				this.following = active;
				if (!active) this.target = null;
			}
		};