mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 20:48:28 +08:00
updated unit tests with new shadow API
This commit is contained in:
parent
206f7bf8d0
commit
356661ecff
@ -15,12 +15,10 @@ Test.Modules.PATH = {
|
||||
fill: '#ccc',
|
||||
stroke: '#333',
|
||||
strokeWidth: 2,
|
||||
shadow: {
|
||||
color: 'black',
|
||||
blur: 2,
|
||||
offset: [10, 10],
|
||||
opacity: 0.5
|
||||
},
|
||||
shadowColor: 'black',
|
||||
shadowBlur: 2,
|
||||
shadowOffset: [10, 10],
|
||||
shadowOpacity: 0.5,
|
||||
draggable: true
|
||||
});
|
||||
|
||||
@ -90,12 +88,10 @@ Test.Modules.PATH = {
|
||||
fill: '#fcc',
|
||||
stroke: '#333',
|
||||
strokeWidth: 2,
|
||||
shadow: {
|
||||
color: 'maroon',
|
||||
blur: 2,
|
||||
offset: [10, 10],
|
||||
opacity: 0.5
|
||||
},
|
||||
shadowColor: 'maroon',
|
||||
shadowBlur: 2,
|
||||
shadowOffset: [10, 10],
|
||||
shadowOpacity: 0.5,
|
||||
draggable: true
|
||||
});
|
||||
|
||||
|
@ -56,12 +56,10 @@ Test.Modules.STAR = {
|
||||
stroke: 'blue',
|
||||
strokeWidth: 5,
|
||||
lineJoin: "round",
|
||||
shadow: {
|
||||
color: 'black',
|
||||
blur: 10,
|
||||
offset: [20, 20],
|
||||
opacity: 0.5
|
||||
},
|
||||
shadowColor: 'black',
|
||||
shadowBlur: 10,
|
||||
shadowOffset: [20, 20],
|
||||
shadowOpacity: 0.5,
|
||||
draggable: true
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user