diff --git a/src/command.handler.ts b/src/command.handler.ts index c749878..0dd2917 100644 --- a/src/command.handler.ts +++ b/src/command.handler.ts @@ -247,7 +247,8 @@ export function handleCommand(message: string, label: realContent, done: false, colorName: '', - colorStyle: null + colorStyle: null, + fade: false }; // option: add newones to the top @@ -261,7 +262,8 @@ export function handleCommand(message: string, label: message, done: false, colorName: '', - colorStyle: null + colorStyle: null, + fade: false }; // option: add newones to the top diff --git a/src/utils.ts b/src/utils.ts index 62bf0f0..12b4130 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -32,10 +32,10 @@ export function numberOrDefault(value: number | string, defaultNumber: number) { export function fillDefaults(currentOptions: QueryOptions): QueryOptions { const sanitizedOptions: QueryOptions = { - ...currentOptions, scrollingInterval: numberOrDefault(currentOptions.scrollingInterval, 5000), scrollingDuration: numberOrDefault(currentOptions.scrollingDuration, 2000), - layout: 'full' + layout: 'full', + ...currentOptions };