File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -111,4 +111,4 @@ Layout.ticker.add(manualTween);
111
111
112
112
## 一些参考资料
113
113
1 . [ JavaScript HTML DOM 动画] ( https://www.w3school.com.cn/js/js_htmldom_animate.asp )
114
- 2 . [ CSS positon ] ( https://developer.mozilla.org/en-US/docs/Web/CSS/position )
114
+ 2 . [ CSS position ] ( https://developer.mozilla.org/en-US/docs/Web/CSS/position )
Original file line number Diff line number Diff line change @@ -92,8 +92,8 @@ const Layout = requirePlugin('Layout').default;
92
92
| 1.0.12 | 修复 BitMapText textAlign = 'right' 不生效问题,修改 ScrollBar 的默认样式|
93
93
| 1.0.11 | 修复样式伪类功能在touchend没有触发的bug |
94
94
| 1.0.10 | 修复1.0.9背景渲染的bug |
95
- | 1.0.9 | 样式支持伪类能力,transform支持scale,详情可见[ 布局和样式] ( ../components// overview.md ) |
96
- | 1.0.8 | 支持文字描边和文字阴影效果,详情可见[ 布局和样式] ( ../components// overview.md ) |
95
+ | 1.0.9 | 样式支持伪类能力,transform支持scale,详情可见[ 布局和样式] ( ../components/overview.md ) |
96
+ | 1.0.8 | 支持文字描边和文字阴影效果,详情可见[ 布局和样式] ( ../components/overview.md ) |
97
97
| 1.0.7 | 修复1.0.6版本Image的borderRadius失效问题 |
98
98
| 1.0.6 | 1. 修复圆角矩形在有borderRadius的时候绘制不够圆润问题;2. 文字样式支持fontFamily属性;3. 修复 ScrollView 的滚动条在页面布局变化时会位置异常问题; |
99
99
| 1.0.5 | transform 部分属性支持,使用可见[ 教程] ( ../tutorial/loading.md ) |
Original file line number Diff line number Diff line change 1
1
# 常见问题
2
2
** Q1. 为什么小游戏用了 Layout 之后感觉滚动不灵敏或者有点按钮的点击位置感觉偏了?**
3
3
4
- A1. 因为 Layout 仅仅负责开放数据域的渲染,它不知道自己最终有没有上屏或者被绘制到了屏幕的什么位置,因此要做好事件处理,最方便的就是通过[ updateViewPort] ( api/api.md ) 精准告诉 Layout,绝大部分反馈都是这里的值没有传对,请仔细阅读文档并校验参数是否符合预期。
4
+ A1. 因为 Layout 仅仅负责开放数据域的渲染,它不知道自己最终有没有上屏或者被绘制到了屏幕的什么位置,因此要做好事件处理,最方便的就是通过[ updateViewPort] ( api/api.html#updateviewport ) 精准告诉 Layout,绝大部分反馈都是这里的值没有传对,请仔细阅读文档并校验参数是否符合预期。
5
5
6
6
** Q2. Layout 支持 Unity 和 Cocos 等游戏引擎里面的九宫格图么?**
7
7
@@ -13,4 +13,4 @@ A3. 不支持通过display none的方式设置隐藏,核心有两个原因,
13
13
14
14
** Q4. Layout支持使用自定义字体么?**
15
15
16
- A4. 支持,详情可见[ 教程] ( tutorial/font ) 。
16
+ A4. 支持,详情可见[ 教程] ( tutorial/font ) 。
You can’t perform that action at this time.
0 commit comments