mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2025-02-01 16:05:53 +00:00
修复一些已知bug
This commit is contained in:
parent
fa359cbda0
commit
7f30b54a6c
@ -3,6 +3,7 @@
|
||||
* 添加 纳西妲、莱依拉 的天赋及命座数据
|
||||
* 可通过 `#草神天赋``#草神命座``#草神图鉴`查看
|
||||
* 优化character的进入判定逻辑,防止一些额外的log触发
|
||||
* 角色相关命令在V3下会联合V3的角色别名一同查询
|
||||
|
||||
# 2.0.1
|
||||
|
||||
|
@ -37,7 +37,7 @@ let Theme = {
|
||||
let colCount = Math.min(5, Math.max(parseInt(helpConfig?.colCount) || 3, 2))
|
||||
let colWidth = Math.min(500, Math.max(100, parseInt(helpConfig?.colWidth) || 265))
|
||||
let width = Math.min(2500, Math.max(800, colCount * colWidth + 30))
|
||||
let theme = await Theme.getThemeCfg(helpConfig.theme, diyStyle.themeExclude || sysStyle.themeExclude)
|
||||
let theme = await Theme.getThemeCfg(diyStyle.theme || sysStyle.theme, diyStyle.themeExclude || sysStyle.themeExclude)
|
||||
let themeStyle = theme.style || {}
|
||||
let ret = [`
|
||||
body{background-image:url(${theme.bg});width:${width}px;}
|
||||
|
@ -52,9 +52,7 @@ async function init () {
|
||||
})
|
||||
})
|
||||
abbrMap = sysCfg.abbr
|
||||
|
||||
gsCfg = await Data.importDefault('plugins/genshin/model/gsCfg.js', 'root')
|
||||
console.log(gsCfg)
|
||||
}
|
||||
|
||||
await init()
|
||||
|
Loading…
Reference in New Issue
Block a user