mirror of
https://github.com/openclaw/openclaw.git
synced 2026-02-09 05:19:32 +08:00
chore: fix formatting and CI
This commit is contained in:
@@ -6,12 +6,14 @@ import { handleChatScroll, scheduleChatScroll, resetChatScroll } from "./app-scr
|
||||
/* ------------------------------------------------------------------ */
|
||||
|
||||
/** Minimal ScrollHost stub for unit tests. */
|
||||
function createScrollHost(overrides: {
|
||||
scrollHeight?: number;
|
||||
scrollTop?: number;
|
||||
clientHeight?: number;
|
||||
overflowY?: string;
|
||||
} = {}) {
|
||||
function createScrollHost(
|
||||
overrides: {
|
||||
scrollHeight?: number;
|
||||
scrollTop?: number;
|
||||
clientHeight?: number;
|
||||
overflowY?: string;
|
||||
} = {},
|
||||
) {
|
||||
const {
|
||||
scrollHeight = 2000,
|
||||
scrollTop = 1500,
|
||||
|
||||
@@ -323,7 +323,10 @@ export class OpenClawApp extends LitElement {
|
||||
|
||||
scrollToBottom() {
|
||||
resetChatScrollInternal(this as unknown as Parameters<typeof resetChatScrollInternal>[0]);
|
||||
scheduleChatScrollInternal(this as unknown as Parameters<typeof scheduleChatScrollInternal>[0], true);
|
||||
scheduleChatScrollInternal(
|
||||
this as unknown as Parameters<typeof scheduleChatScrollInternal>[0],
|
||||
true,
|
||||
);
|
||||
}
|
||||
|
||||
async loadAssistantIdentity() {
|
||||
|
||||
Reference in New Issue
Block a user