mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
fixed send_form fastUI transitions
This commit is contained in:
@@ -209,10 +209,7 @@ function RA_checkOnlineStatus() {
|
||||
} else {
|
||||
if (online_status !== undefined && online_status !== "no_connection") {
|
||||
$("#send_textarea").attr("placeholder", "Type a message..."); //on connect, placeholder tells user to type message
|
||||
const formColor = power_user.fast_ui_mode ? "var(--SmartThemeFastUIBGColor)" : "var(--SmartThemeBlurTintColor)";
|
||||
/* console.log("RA-AC -- connected, coloring input as " + formColor); */
|
||||
$('#send_form').removeClass("no-connection");
|
||||
$("#send_form").css("background-color", formColor); //on connect, form BG changes to transprent black
|
||||
$("#API-status-top").removeClass("fa-plug-circle-exclamation redOverlayGlow");
|
||||
$("#API-status-top").addClass("fa-plug");
|
||||
connection_made = true;
|
||||
|
@@ -109,7 +109,6 @@ function switchUiMode() {
|
||||
const fastUi = localStorage.getItem(storage_keys.fast_ui_mode);
|
||||
power_user.fast_ui_mode = fastUi === null ? true : fastUi == "true";
|
||||
$("body").toggleClass("no-blur", power_user.fast_ui_mode);
|
||||
$("#send_form").toggleClass("no-blur-sendtextarea", power_user.fast_ui_mode);
|
||||
}
|
||||
|
||||
function switchWaifuMode() {
|
||||
@@ -241,13 +240,13 @@ async function applyTheme(name) {
|
||||
console.log('theme applied: ' + name);
|
||||
}
|
||||
|
||||
applyAvatarStyle();
|
||||
switchUiMode();
|
||||
applyChatDisplay();
|
||||
applySheldWidth();
|
||||
applyFontScale();
|
||||
applyBlurStrength();
|
||||
applyThemeColor();
|
||||
applySheldWidth();
|
||||
applyAvatarStyle();
|
||||
applyBlurStrength();
|
||||
applyChatDisplay();
|
||||
switchWaifuMode()
|
||||
|
||||
function loadPowerUserSettings(settings, data) {
|
||||
|
Reference in New Issue
Block a user