space: deselect when using tools; normalize note tool behavior

This commit is contained in:
mntmn
2020-09-28 00:04:18 +02:00
parent 2a2c7011c0
commit 7c6d5c83db
2 changed files with 14 additions and 1 deletions

View File

@@ -52,7 +52,7 @@
<div class="dropdown bottom light center">
<div class="btn-collapse in">
<button class="btn btn-transparent btn-icon-labeled" v-on:click="active_tool='note'" v-bind:class="{active:active_tool=='note'}">
<button class="btn btn-transparent btn-icon-labeled" v-on:click="start_adding_note()" v-bind:class="{active:active_tool=='note'}">
<span class="icon icon-tool-text"></span>
<span class="icon-label"><%=__("tool_text")%></span>
</button>