diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..58656b7 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +v14.19.1 diff --git a/CHANGELOG.md b/CHANGELOG.md index efe8b2f..3088695 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.19.1 +* Performance improvement for players who connect multiple characters at the same time +* Limit max height of the status message banner on character profile + ## 1.19.0 * Fixed formatting for body type comparison * Fixed auto-responder failing to send a message in certain cases diff --git a/README.md b/README.md index 356af04..a60094c 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # Download -[Windows](https://github.com/mrstallion/fchat-rising/releases/download/v1.19.0/F-Chat-Rising-1.19.0-win.exe) (82 MB) -| [MacOS Intel](https://github.com/mrstallion/fchat-rising/releases/download/v1.19.0/F-Chat-Rising-1.19.0-macos-intel.dmg) (82 MB) -| [MacOS M1](https://github.com/mrstallion/fchat-rising/releases/download/v1.19.0/F-Chat-Rising-1.19.0-macos-m1.dmg) (84 MB) -| [Linux](https://github.com/mrstallion/fchat-rising/releases/download/v1.19.0/F-Chat-Rising-1.19.0-linux.AppImage) (82 MB) +[Windows](https://github.com/mrstallion/fchat-rising/releases/download/v1.19.1/F-Chat-Rising-1.19.1-win.exe) (82 MB) +| [MacOS Intel](https://github.com/mrstallion/fchat-rising/releases/download/v1.19.1/F-Chat-Rising-1.19.1-macos-intel.dmg) (82 MB) +| [MacOS M1](https://github.com/mrstallion/fchat-rising/releases/download/v1.19.1/F-Chat-Rising-1.19.1-macos-m1.dmg) (84 MB) +| [Linux](https://github.com/mrstallion/fchat-rising/releases/download/v1.19.1/F-Chat-Rising-1.19.1-linux.AppImage) (82 MB) # F-Chat Rising diff --git a/chat/preview/event-bus.ts b/chat/preview/event-bus.ts index 5b4f549..c927bc9 100644 --- a/chat/preview/event-bus.ts +++ b/chat/preview/event-bus.ts @@ -42,7 +42,7 @@ export interface CharacterDataEvent { export interface SelectConversationEvent extends EventBusEvent { - conversation: Conversation; + conversation: Conversation | null; } export type EventCallback = (data: any) => void | Promise; diff --git a/docs/_config.yml b/docs/_config.yml index 39998b1..be9cdce 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -50,7 +50,7 @@ theme: jekyll-theme-slate changelog: https://github.com/mrstallion/fchat-rising/blob/master/CHANGELOG.md download: - version: 1.19.0 + version: 1.19.1 url: https://github.com/mrstallion/fchat-rising/releases/download/v%VERSION%/F-Chat-Rising-%VERSION%-%PLATFORM_TAIL% diff --git a/electron/Index.vue b/electron/Index.vue index d484f80..b661ccd 100644 --- a/electron/Index.vue +++ b/electron/Index.vue @@ -344,6 +344,14 @@ // log.info('INDEXVUE ZOOM UPDATE', zoomLevel); }); + electron.ipcRenderer.on('active-tab', () => { + core.cache.setTabActive(true); + }); + + electron.ipcRenderer.on('inactive-tab', () => { + core.cache.setTabActive(false); + }); + window.addEventListener('keydown', (e) => { const key = getKey(e); @@ -641,6 +649,8 @@ .status-text { font-size: 12pt; display: block; + max-height: 3em; + overflow: auto; } } } diff --git a/electron/Window.vue b/electron/Window.vue index a4dd642..74d590b 100644 --- a/electron/Window.vue +++ b/electron/Window.vue @@ -35,6 +35,7 @@