Skip to content

Commit

Permalink
Merge pull request #484 from bnmajor/pwfWidget-width
Browse files Browse the repository at this point in the history
feat(VolumeRendering): Double the PiecewiseWidget range width
  • Loading branch information
floryst authored Nov 13, 2023
2 parents cbd3d93 + a49e5fa commit f9d8638
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/VolumeRendering.vue
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ export default defineComponent({
rangeShiftMax: computed(() => fullMappingRangeWidth.value / 2),
rangeShift,
rangeWidth,
rangeWidthMax: computed(() => fullMappingRangeWidth.value * 2),
request3DAnimation,
cancel3DAnimation,
selectPreset,
Expand Down Expand Up @@ -356,7 +357,7 @@ export default defineComponent({
hide-details
label="Width"
min="1"
:max="fullMappingRange[1] - fullMappingRange[0]"
:max="rangeWidthMax"
:step="colorSliderStep"
@pointerdown="request3DAnimation"
@pointerup="cancel3DAnimation"
Expand Down

0 comments on commit f9d8638

Please sign in to comment.