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