Skip to content

Commit

Permalink
Adding scaling and vector origin
Browse files Browse the repository at this point in the history
  • Loading branch information
CyclingNinja committed Aug 7, 2024
1 parent ee3d8ad commit da8f40b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions glue_jupyter/common/state_widgets/layer_scatter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,14 @@
<div>
<v-select label="vy" :items="vy_att_items" v-model="vy_att_selected" hide-details />
</div>
<div>
<v-select label="origin" :items=vector_origin />
</div>
<div>
<v-subheader class="pl-0 slider-label">vector size</v-subheader>
<glue-throttled-slider wait="300" min="0" max="100" step="1" :value.sync="glue_state.vector_scaling"
hide-details />
</div>
</template>
</div>
</template>
Expand All @@ -106,3 +114,11 @@
margin-top: 6px;
}
</style>

<script>
export default {
data: () => ({
vector_origin: ['tail', 'middle', 'tip']
}),
}
</script>

0 comments on commit da8f40b

Please sign in to comment.