Feature/UI input system fix (#243)
* feat(ui): 实现编辑器预览模式下的 UI 输入系统 * feat(platform-web): 为浏览器运行时添加 UI 输入系统绑定
This commit is contained in:
@@ -52,12 +52,16 @@ export class UIScrollViewComponent extends Component {
|
||||
* 内容宽度
|
||||
* Content width
|
||||
*/
|
||||
@Serialize()
|
||||
@Property({ type: 'number', label: 'Content Width', min: 0 })
|
||||
public contentWidth: number = 0;
|
||||
|
||||
/**
|
||||
* 内容高度
|
||||
* Content height
|
||||
*/
|
||||
@Serialize()
|
||||
@Property({ type: 'number', label: 'Content Height', min: 0 })
|
||||
public contentHeight: number = 0;
|
||||
|
||||
// ===== 滚动配置 Scroll Configuration =====
|
||||
|
||||
Reference in New Issue
Block a user