fix: default color
This commit is contained in:
@@ -347,8 +347,8 @@ const blessingText = ref({});
|
||||
const fontSize = ref(32);
|
||||
|
||||
const textColors = [
|
||||
"#ffffff",
|
||||
"#000000",
|
||||
"#ffffff",
|
||||
"#ff3b30",
|
||||
"#F5A623",
|
||||
"#8B572A",
|
||||
@@ -359,8 +359,8 @@ const textColors = [
|
||||
"#9013FE",
|
||||
"#FFC0CB",
|
||||
];
|
||||
const selectedColor = ref("#ffffff");
|
||||
const signatureColor = ref("#ffffff");
|
||||
const selectedColor = ref("#000000");
|
||||
const signatureColor = ref("#000000");
|
||||
|
||||
const fontList = [
|
||||
{ name: "默认", family: "PingFang SC", url: "" },
|
||||
@@ -902,7 +902,7 @@ function drawUserBubble(ctx, options) {
|
||||
fontSizeName = 24,
|
||||
fontSizeDesc = 20,
|
||||
bubbleColor = "rgba(255,255,255,0.18)",
|
||||
textColor = "#ffffff",
|
||||
textColor = "#000000",
|
||||
} = options;
|
||||
|
||||
// 设置字体
|
||||
|
||||
Reference in New Issue
Block a user