This repository has been archived by the owner on Feb 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(config): rename defaultConfig.json to defaultConfig.js, remove m…
…obileShow&mobileScale(use displ prototype BREAKING CHANGE: rename defaultConfig.json to defaultConfig.js, remove mobileShow&mobileScale(use displayFunc instead), remove modelScale(nouse), add z-index&displayFunc re #19
- Loading branch information
Showing
6 changed files
with
37 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
export default { | ||
'devLog': false, | ||
'devMouseLog': false, | ||
'displayFunc': () => ({ | ||
'displayHeight': null, | ||
'displayMotion': null, | ||
'displayOffsetH': null, | ||
'displayOffsetV': null, | ||
'displayOpacityDefault': null, | ||
'displayOpacityOnHover': null, | ||
'displaySampleLevel': null, | ||
'displayShow': null, | ||
'displaySide': null, | ||
'displayWidth': null, | ||
}), | ||
'displayHeight': '300px', | ||
'displayMotion': true, | ||
'displayOffsetH': 0, | ||
'displayOffsetV': -20, | ||
'displayOpacityDefault': 0.7, | ||
'displayOpacityOnHover': 0.2, | ||
'displaySampleLevel': 2, | ||
'displayShow': true, | ||
'displaySide': 'right', | ||
'displayWidth': '150px', | ||
'modelHeadPosH': 0.5, | ||
'modelHeadPosV': 0.618, | ||
'modelJsonPath': 'https://cdn.jsdelivr.net/npm/live2d-widget-model-shizuku/assets/shizuku.model.json', | ||
'z-index': 2333, | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* global process, device */ | ||
/* global process */ | ||
|
||
import { | ||
configDefaulter, | ||
|