We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fd38994 + a96caa9 commit 933befaCopy full SHA for 933befa
1 file changed
static/app.js
@@ -437,6 +437,18 @@ function init_app() {
437
if (screenCaptureStream != null) {
438
await startScreenSharing();
439
}
440
+
441
+ // 同步更新Live2D浮动按钮状态
442
+ if (window.live2dManager && window.live2dManager._floatingButtons) {
443
+ // 更新麦克风按钮状态
444
+ syncFloatingMicButtonState(true);
445
446
+ // 更新屏幕分享按钮状态(如果屏幕共享已开启)
447
+ if (screenCaptureStream != null) {
448
+ syncFloatingScreenButtonState(true);
449
+ }
450
451
452
showStatusToast(window.t ? window.t('app.restartComplete', { name: lanlan_config.lanlan_name }) : `重启完成,${lanlan_config.lanlan_name}回来了!`, 4000);
453
} catch (error) {
454
console.error("重启时出错:", error);
0 commit comments