Skip to content

Commit

Permalink
fix: dash update style
Browse files Browse the repository at this point in the history
  • Loading branch information
lzxue committed Jul 24, 2023
1 parent ac72619 commit 3b577ca
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dev-demos/features/line/demos/linedash.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default () => {
.color('标准名称', ['#5B8FF9', '#5CCEA1', '#F6BD16'])
.active(true)
.style({
lineType: 'dash',
// lineType: 'dash',
opacity:['标准名称',[0,0.5,0.6,1]],
dashArray: [5, 5],
});
Expand All @@ -39,7 +39,9 @@ export default () => {
setTimeout(() => {
console.log('update1111');
layer.style({
opacity:1
opacity:1,
lineType: 'dash',
dashArray: [5, 5]
});
scene.render();
},2000)
Expand Down

0 comments on commit 3b577ca

Please sign in to comment.