Procházet zdrojové kódy

add ms and fps

tags/2.12.0
Caven Chen před 3 roky
rodič
revize
c0568cb995

+ 23
- 8
modules/themes/locationbar.scss Zobrazit soubor

@@ -9,20 +9,35 @@
border-radius: 2px;
user-select: none;
display: flex;
span {
margin: 0 8px;
display: inline-block;
.mouse-bar, .camera-bar ,.ms-bar,.fps-bar{
display: flex;
span {
margin: 0 8px;
}

}
.mouse-bar{
span{
min-width: 100px;

.mouse-bar {
span {
min-width: 140px;
}
span:nth-of-type(3) {
min-width: 120px;
}
}

.ms-bar,.fps-bar{
.camera-bar {
span{
min-width: 70px;
min-width: 90px;
}
span:nth-of-type(2) {
min-width: 145px;
}
}

.ms-bar,.fps-bar {
span {
min-width: 70px;
}
}
}

+ 1
- 1
modules/widget/type/LocationBar.js Zobrazit soubor

@@ -69,7 +69,7 @@ class LocationBar extends Widget {
this._mouseEl = DomUtil.create('div', 'mouse-bar', this._wrapper)
this._cameraEl = DomUtil.create('div', 'camera-bar', this._wrapper)
this._msEl = DomUtil.create('div', 'ms-bar', this._wrapper)
this._fpsEl = DomUtil.create('div', 'fbs-bar', this._wrapper)
this._fpsEl = DomUtil.create('div', 'fps-bar', this._wrapper)
this._ready = true
}


Načítá se…
Zrušit
Uložit