commit
4c6a632e90
2 changed files with 6 additions and 2 deletions
|
@ -7,7 +7,6 @@ const uil = {
|
||||||
layers: [],
|
layers: [],
|
||||||
_active: null,
|
_active: null,
|
||||||
set active(v) {
|
set active(v) {
|
||||||
console.debug(v);
|
|
||||||
Array.from(this._ui_layer_list.children).forEach((child) => {
|
Array.from(this._ui_layer_list.children).forEach((child) => {
|
||||||
child.classList.remove("active");
|
child.classList.remove("active");
|
||||||
});
|
});
|
||||||
|
|
|
@ -751,7 +751,12 @@ const _reticle_draw = (evn, state, tool, style = {}) => {
|
||||||
|
|
||||||
uiCtx.textAlign = "left";
|
uiCtx.textAlign = "left";
|
||||||
uiCtx.fillStyle = style.toolTextStyle;
|
uiCtx.fillStyle = style.toolTextStyle;
|
||||||
uiCtx.fillText(tool, bbvp.x + 10, bbvp.y + 10 + 20 * xshrink);
|
uiCtx.fillText(
|
||||||
|
tool,
|
||||||
|
bbvp.x + 10,
|
||||||
|
bbvp.y + 10 + 20 * xshrink,
|
||||||
|
state.cursorSize
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Draw width and height
|
// Draw width and height
|
||||||
|
|
Loading…
Reference in a new issue