Skip to content

Commit ee21120

Browse files
committed
increasing steps
1 parent 109845e commit ee21120

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

client/src/components/geoJS/LayerManager.vue

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ export default defineComponent({
743743
return "0";
744744
}
745745
// number of discrete steps (higher = sharper but costlier)
746-
const numSteps = 50;
746+
const numSteps = 100;
747747
// which index is the last 'transparent' bucket
748748
const thresholdStep = Math.floor(t * (numSteps - 1));
749749
@@ -869,9 +869,11 @@ export default defineComponent({
869869
type="luminanceToAlpha"
870870
result="luminance"
871871
/>
872-
<feComponentTransfer in="luminance" result="transparency-mask">
872+
<feComponentTransfer
873+
in="luminance"
874+
result="transparency-mask">
873875
<feFuncA
874-
type="discrete"
876+
type="table"
875877
:tableValues="getTransparencyTableValues()"
876878
/>
877879
</feComponentTransfer>

0 commit comments

Comments
 (0)