#584 icon change issue fixed

master
agriyadev5 2021-06-11 11:31:47 +05:30
parent e8097599c7
commit 86f70db571
2 changed files with 3 additions and 2 deletions

View File

@ -348,13 +348,14 @@ class Editor extends EditorStartup {
// Change select icon
$id('tool_path').pressed = false;
$id('tool_select').pressed = true;
$id('tool_select').setAttribute('src', './images/select_node.svg');
this.multiselected = false;
if (elems.length) {
this.selectedElement = elems[0];
}
} else {
setTimeout(() => {
// setIcon('#tool_select', 'select');
$id('tool_select').setAttribute('src', './images/select.svg');
}, 1000);
}
}

View File

@ -968,7 +968,7 @@ class TopPanel {
</div> <!-- a_panel -->
<div id="path_node_panel">
<div class="tool_sep"></div>
<se-button id="tool_node_link" title="${i18next.t('tools.node_link')}" src="./images/tool_node_link.svg" pressed={${true}}>
<se-button id="tool_node_link" title="${i18next.t('tools.node_link')}" src="./images/tool_node_link.svg" pressed="${true}">
</se-button>
<div class="tool_sep"></div>
<se-spin-input id="path_node_x" data-attr="x" size="4" title="${i18next.t('properties.node_x')}" label="x:">