MCPcopy
hub / github.com/1j01/jspaint / select_tools

Function select_tools

src/functions.js:2877–2882  ·  view source on GitHub ↗

* @param {Tool[]} tools

(tools)

Source from the content-addressed store, hash-verified

2875 * @param {Tool[]} tools
2876 */
2877function select_tools(tools) {
2878 for (let i = 0; i < tools.length; i++) {
2879 select_tool(tools[i], i > 0);
2880 }
2881 update_helper_layer();
2882}
2883
2884/**
2885 * @param {Tool} tool

Callers 2

$ToolBoxFunction · 0.90
pointerdown_actionFunction · 0.90

Calls 2

select_toolFunction · 0.85
update_helper_layerFunction · 0.85

Tested by

no test coverage detected