Skip to content

Commit

Permalink
Update CustomLoading.md
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxinyumocn authored Aug 22, 2024
1 parent 8778401 commit 6553f2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Design/CustomLoading.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ loadingPageConfig: {
*/
designWidth: 0, // 设计宽度,单位px
designHeight: 0, // 设计高度,单位px
scaleMode: '', // 缩放模式, 取值和效果参考,https://docs.egret.com/engine/docs/screenAdaptation/zoomMode
scaleMode: '', // 缩放模式, 取值和效果参考,https://github.com/egret-labs/egret-docs/blob/master/Engine2D/screenAdaptation/zoomMode/README.md
// 以下配置的样式,尺寸相对设计宽高
textConfig: {
firstStartText: '首次加载请耐心等待', // 首次启动时提示文案
Expand Down Expand Up @@ -147,7 +147,7 @@ loadingPageConfig: {

- `scaleMode`取值
```js
// https://docs.egret.com/engine/docs/screenAdaptation/zoomMode
// https://github.com/egret-labs/egret-docs/blob/master/Engine2D/screenAdaptation/zoomMode/README.md
export const scaleMode = {
noBorder: 'NO_BORDER', // 常用之一,不留黑边
exactFit: 'EXACT_FIT',
Expand Down

0 comments on commit 6553f2a

Please sign in to comment.