mirror of
https://github.com/liriliri/eruda.git
synced 2026-04-01 10:18:35 +08:00
Dev: Rename home button to entry button
This commit is contained in:
@@ -2,7 +2,7 @@ import util from '../lib/util'
|
||||
import Draggabilly from 'draggabilly'
|
||||
import config from '../lib/config.es6'
|
||||
|
||||
require('./HomeBtn.scss');
|
||||
require('./EntryBtn.scss');
|
||||
|
||||
export default class HomeBtn extends util.Emitter
|
||||
{
|
||||
@@ -21,7 +21,7 @@ export default class HomeBtn extends util.Emitter
|
||||
{
|
||||
var $parent = this._$parent;
|
||||
|
||||
$parent.append(require('./HomeBtn.hbs')());
|
||||
$parent.append(require('./EntryBtn.hbs')());
|
||||
|
||||
this._$el = $parent.find('.eruda-home-btn');
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
import HomeBtn from './HomeBtn/HomeBtn.es6'
|
||||
import HomeBtn from './EntryBtn/EntryBtn.es6'
|
||||
import DevTools from './DevTools/DevTools.es6'
|
||||
import Console from './Console/Console.es6'
|
||||
import Network from './Network/Network.es6'
|
||||
@@ -45,7 +45,7 @@ devTools.add(consoleTool)
|
||||
settings.separator()
|
||||
.add(devTools.config, 'activeEruda', 'Always Activated')
|
||||
.separator()
|
||||
.add(homeBtn.config, 'rememberPos', 'Remember Home Button Position')
|
||||
.add(homeBtn.config, 'rememberPos', 'Remember Entry Button Position')
|
||||
.separator()
|
||||
.add(devTools.config, 'transparent', 'Transparent')
|
||||
.add(devTools.config, 'halfScreen', 'Half Screen Size')
|
||||
|
||||
Reference in New Issue
Block a user