mirror of
https://github.com/liriliri/eruda.git
synced 2026-04-01 10:18:35 +08:00
chore: use licia isHidden module
This commit is contained in:
@@ -40,7 +40,6 @@ export default class DevTools extends Emitter {
|
||||
}
|
||||
show() {
|
||||
this._isShow = true
|
||||
this.emit('show')
|
||||
|
||||
this._$el.show()
|
||||
this._navBar.resetStyle()
|
||||
@@ -50,6 +49,8 @@ export default class DevTools extends Emitter {
|
||||
this._$el.css('opacity', this._opacity)
|
||||
}, 50)
|
||||
|
||||
this.emit('show')
|
||||
|
||||
return this
|
||||
}
|
||||
hide() {
|
||||
|
||||
Reference in New Issue
Block a user