Skip to content

Commit

Permalink
Use the logo to open the sidebar.
Browse files Browse the repository at this point in the history
  • Loading branch information
francois2metz committed Nov 5, 2020
1 parent 7870932 commit 6dff836
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
4 changes: 4 additions & 0 deletions icons/equal.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 10 additions & 1 deletion js/toolbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
@click="toggleMenu"
v-on="on"
>
<v-icon>mdi-menu</v-icon>
<img
:src="equalLogo"
alt="indoor="
width="36"
/>
</v-btn>
</template>
<span>{{ $t('toolbar.menu') }}</span>
Expand Down Expand Up @@ -57,6 +61,7 @@

<script>
import GeocoderInput from './geocoder';
import equalLogo from '../icons/equal.svg';
export default {
components: {
Expand Down Expand Up @@ -96,6 +101,10 @@ export default {
}
},
data() {
return { equalLogo };
},
computed: {
editDisabled() {
return this.mapZoom < this.minZoom;
Expand Down

0 comments on commit 6dff836

Please sign in to comment.