mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2025-02-01 16:05:53 +00:00
修复喵喵帮助设置theme
不生效 (#204)
This commit is contained in:
parent
6ebc71d568
commit
fa359cbda0
@ -33,7 +33,7 @@ let Theme = {
|
||||
}
|
||||
},
|
||||
async getThemeData (diyStyle, sysStyle) {
|
||||
let helpConfig = lodash.extend({}, diyStyle, sysStyle)
|
||||
let helpConfig = lodash.extend({}, sysStyle, diyStyle)
|
||||
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))
|
||||
|
Loading…
Reference in New Issue
Block a user