eva-engine / eva.js

Eva.js is a front-end game engine specifically for creating interactive game projects.
https://eva.js.org
MIT License
1.75k stars 108 forks source link

preventScroll's behavior is wrong #30

Closed fanmingfei closed 3 years ago

fanmingfei commented 3 years ago

Expected Behavior

preventScroll 应该是阻止滚动

Current Behavior

现在设置false以后就无法滚动

Possible Solution

为了防止现有项目出问题,新增一个属性解决

fanmingfei commented 3 years ago

Change preventScroll to enableScroll.

fanmingfei commented 3 years ago

PreventScroll property will deprecate at next major version!