tool name no longer renders and breaks things
tool name now functions okay when cursor has 0 size Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
This commit is contained in:
parent
bdf6bb8913
commit
de4823e749
1 changed files with 6 additions and 1 deletions
|
@ -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