MCPcopy Index your code
hub / github.com/hizzgdev/jsmind / change_text_color

Function change_text_color

example/2_features.js:263–271  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

261}
262
263function change_text_color() {
264 var selected_id = get_selected_nodeid();
265 if (!selected_id) {
266 prompt_info('please select a node first.');
267 return;
268 }
269
270 _jm.set_node_color(selected_id, null, '#000');
271}
272
273function change_background_color() {
274 var selected_id = get_selected_nodeid();

Callers

nothing calls this directly

Calls 3

get_selected_nodeidFunction · 0.85
prompt_infoFunction · 0.85
set_node_colorMethod · 0.80

Tested by

no test coverage detected