Added Notes and Folding
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
soraefir 2023-06-19 13:06:05 +02:00
parent 642436b980
commit 7c74c3f570
Signed by: sora
GPG Key ID: A362EA0491E2EEA0
2 changed files with 2 additions and 2 deletions

View File

@ -226,7 +226,7 @@ const app = new Vue({
this.journey_data.main.splice(idx,1); this.journey_data.main.splice(idx,1);
}, },
toggle_section_vis: function(idx){ toggle_section_vis: function(idx){
this.visible_step ^= 0x1 << (idx+1); this.visible_step ^= 0x1 << (idx);
}, },
search_nominatim: function(txt,f){ search_nominatim: function(txt,f){
if(txt==""){ if(txt==""){

View File

@ -47,7 +47,7 @@
<div class="col-auto"><button class="button button--secondary button--mobileFull" v-on:click="toggle_section_vis(idx)">-</button></div> <div class="col-auto"><button class="button button--secondary button--mobileFull" v-on:click="toggle_section_vis(idx)">-</button></div>
<div class="input col-sm-4"><input class="" v-model="item.title" type="text" /></div> <div class="input col-sm-4"><input class="" v-model="item.title" type="text" /></div>
</div> </div>
<div class="row" v-show="journey_data.visible & (0x1 << (idx+1))"> <div class="row" v-show="visible_step & (0x1 << idx)">
<div class="col-12 col-sm-8"> <div class="col-12 col-sm-8">
<l-map <l-map
:zoom.sync="item.map.zoom" :zoom.sync="item.map.zoom"