10.20
This commit is contained in:
1 parent
a1eb7544bc
commit
42ebe1f389
249 files changed
+80252
-1476
No files matched your search
@@ -3456,6 +3456,16 @@ control.prototype._resize_statusBar = function (obj) {
|
||||
core.dom.statusCanvas.style.height = obj.outerHeight - 2 * obj.BORDER + (obj.extendToolbar ? obj.TOOLBAR_HEIGHT * core.domStyle.scale + obj.BORDER : 0) + "px";
|
||||
core.maps._setHDCanvasSize(core.dom.statusCanvasCtx, obj.BAR_WIDTH, core._PY_ + (obj.extendToolbar ? obj.TOOLBAR_HEIGHT + obj.BORDER : 0));
|
||||
}
|
||||
if (core.domStyle.isVertical) {
|
||||
core.dom.caidan1.style.width = core._PX_ * core.domStyle.scale + "px";
|
||||
core.dom.caidan1.style.height = obj.statusBarHeightInVertical - 3 + "px";
|
||||
core.maps._setHDCanvasSize(core.dom.caidan1Ctx, core._PX_, obj.col * 32 + 9);
|
||||
}
|
||||
else {
|
||||
core.dom.caidan1.style.width = obj.BAR_WIDTH * core.domStyle.scale + "px";
|
||||
core.dom.caidan1.style.height = obj.outerHeight - 2 * obj.BORDER + (obj.extendToolbar ? obj.TOOLBAR_HEIGHT * core.domStyle.scale + obj.BORDER : 0) + "px";
|
||||
core.maps._setHDCanvasSize(core.dom.caidan1Ctx, obj.BAR_WIDTH, core._PY_ + (obj.extendToolbar ? obj.TOOLBAR_HEIGHT + obj.BORDER : 0));
|
||||
}
|
||||
core.dom.statusCanvas.style.display = core.flags.statusCanvas && !obj.extendToolbar ? "block" : "none";
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -11,8 +11,8 @@
|
||||
// const core = (() => {
|
||||
|
||||
function core () {
|
||||
this._WIDTH_ = 13;
|
||||
this._HEIGHT_ = 13;
|
||||
this._WIDTH_ = 15;
|
||||
this._HEIGHT_ = 15;
|
||||
this._PX_ = this._WIDTH_ * 32;
|
||||
this._PY_ = this._HEIGHT_ * 32;
|
||||
this._HALF_WIDTH_ = Math.floor(this._WIDTH_ / 2);
|
||||
|
||||
Reference in new issue
Block a user