Merge pull request #74 from zero01101/testing

Last pull for today
This commit is contained in:
Victor Seiji Hariki 2022-12-06 23:25:01 -03:00 committed by GitHub
commit 4c6a632e90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -7,7 +7,6 @@ const uil = {
layers: [],
_active: null,
set active(v) {
console.debug(v);
Array.from(this._ui_layer_list.children).forEach((child) => {
child.classList.remove("active");
});

View file

@ -751,7 +751,12 @@ const _reticle_draw = (evn, state, tool, style = {}) => {
uiCtx.textAlign = "left";
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