Dev: Features, resources, info tools

This commit is contained in:
surunzi
2016-03-13 23:11:40 +08:00
parent 056f9359f0
commit d7c2ab66b2
21 changed files with 976 additions and 162 deletions

View File

@@ -21,7 +21,7 @@
height: 100%;
width: 100%;
position: relative;
overflow: scroll;
overflow: auto;
.tool {
position: absolute;
left: 0;

View File

@@ -36,15 +36,9 @@ export default class HomeBtn
}
_bindEvent()
{
this._draggabilly.on('staticClick', () => this.emit('click') );
this._draggabilly.on('staticClick', () => this.emit('click'));
window.addEventListener('orientationchange', () =>
{
setTimeout(() =>
{
this._setPos();
}, 150);
}, false);
util.orientation.on('change', () => this._setPos());
}
_makeDraggable()
{

View File

@@ -3,7 +3,7 @@
#eruda { .dev-tools {
.nav-bar {
height: 50px;
overflow-y: scroll;
overflow-y: auto;
position: absolute;
width: 100%;
left: 0;